Design comparison
SolutionDesign
Solution retrospective
Still learning CSS and HTML. Any recommendation for me to improve? Tips ?
Community feedback
- @nmorajdaPosted about 3 years ago
-
Use correct indentation in the HTML code
-
Reset default CSS styles for browser (now you have default margin / padding).
-
Change
.container { height: 100%; }
on
.container { min-height: 100vh; }
and remove the padding, and you will have the element centered vertically as well.
Marked as helpful0 -
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