Submitted almost 2 years ago
Stats Preview Card Component
@garcialexco
Design comparison
SolutionDesign
Solution retrospective
Hello! This is my solution for this challenge. π
- Why does
vh
and100%
behave differently when styling body? - On mobile, how do I make
.main
have a bottom margin when it's small so it has a buffer between the element and the edge of the screen but then also have it automatically center vertically when at larger sizes?
Any ideas on how to improve in any way are greatly appreciated! Much thanks. ππ½π»
Community feedback
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