used transitions, transform, position, flexbox and other css tools
Design comparison
Solution retrospective
I found it quite difficult to make the animations, any tips on that? What would be the best way to write semantic css?
Thank you for checking out my submission :D
Community feedback
- @MatheusVSNPosted over 1 year ago
Hello Matheus, congratulations on completing the challenge 🎉
I have a suggestion about your centering method. Instead of setting the
.page
elementpadding-top
, you could use thedisplay: grid
,place-content: center
andmin-height: 100vh
on the body element, example:.body { display: grid; place-content: center; min-height: 100vh; }
Using the method above would suit your solution very well as it will align your card to the center of the screen without the need for using
padding-top
on the.page
elementHappy coding 😊
Marked as helpful1
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