Design comparison
SolutionDesign
Solution retrospective
Always open to suggestions
Community feedback
- @denieldenPosted almost 3 years ago
Hi Samuel, good work!
Try using Flexbox, it can help you better center elements on the page: give the flexbox and
height
properties to thebody
and removemargin and top
property from the.container
class.Read the guide -> Flexbox
Note: Flexbox aligns to the size of the parent container.
You can use the
vh
measurement for the height... Viewport Height handles the sizing of an element in relation to the height of the browser window.Happy coding :)
Marked as helpful0@StarisblackPosted almost 3 years ago@denielden thanks boss. i will check it out
1
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