@AdrianoEscarabote
Posted
Hi DurgaDevi, how are you?
You did a great job on this challenge, but I have a few tips I think you'll like:
I noticed that you got some good tips on media query, so I'll talk about how the layout is adapting to higher resolutions.
There are some divs that have a height of 100vh
this is causing the page to have a lot of space between elements.
For example:
main .footer-section { /* height: 100vh; */ }
main .home { /* height: 100vh; */ }
I noticed that the layout is growing a lot and leaving the elements very stretched, to fix this we can do the following:
First we will create a div that will receive the content, and in it we will put a max-width: 1440px;
and a margin: 0 auto;
. In this div that will receive the content we will create a parent div for it that will receive the background images.
For example:
<div class="background-image"><div class="content"><h1>HI</h1></div></div>
The rest is great! Hope it helps... π
Marked as helpful
@Durgathev
Posted
Hi @AdrianoEscarabote, I'm doing good. Hope you're doing well.
Thanks for your comments. I'm stuck on that height property in CSS. Because every time it takes extra space and I don't know how to solve it. Thanks for noticing the issue and providing a solution. I will implement this and share the result soon.
Glad to hear you again π.
@AdrianoEscarabote
Posted
@Durgathev no problem, glad to help! π