Hi 👋 In my opinion there's nothing wrong with a fixed height on the content container.
I saw you have some accessibility issues that need fixing:
- Heading levels should only increase by one: for accessibility it's important that the headings are in a logical order so it's best to change your <h5> to <h2>
- All page content should be contained by landmarks: to fix this you need to surround your attribution in the html with <footer>
Also if you want the overlay of the image to be more similar to the design you could do the following:
background-color: #aa5cdb;
background-image: url("images/image-header-desktop.jpg");
background-size: cover;
background-blend-mode: multiply;
opacity: 0.75;
Hope this helps!
@ponhuang
Posted
@Yasmine10 Hello, Yasmine Thank you so much, I didn't realize the accessibility issues 😅 and thanks for telling me the other way to make the blend color. I didn't know this one. Learn it now, thanks a lot 🙏🏻
BTW, I was checking your solution, I love the way you share by using flex direction to reverse the order. That's amazing!💛