Design comparison
SolutionDesign
Community feedback
- @istealersn-devPosted 8 months ago
Congratulations!! @hassan-12-source for completing the challenge.
Quick tip at the first glance - To center the element on the
page/container
, you have to specify themin-height
orheight
. In this case you can set theheight: 100vh;
that will position the card at the centerAlso as a best practice - you can use
CSS custom properties
that represent specific values to be reused throughout a document. For example:font-family, padding, border-radius, gap, etc.
Hope these are helpful! Keep up the good work!
0
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