Design comparison
SolutionDesign
Solution retrospective
hi developers, please provide some feedback on this. first landing page by me.
Community feedback
- @al3xbackPosted almost 3 years ago
Hi Morden,
Looks like in larger screen this needs to be improved.
- step 1: set minimum height to
body
to cover at least the same as browser height and set background-size to fill it.
body { ... min-height: 100vh; background-repeat: no-repeat; background-size: auto 100%; }
- step 2: for better html structure, let the
<section>
tag out of<header>
tag and then wrap with<main>
tag. The structure will be like this:
<header> <nav>...</nav> </header> <main> <section>...</section> </main> <footer>...</footer>
0 - step 1: set minimum height to
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord