Design comparison
SolutionDesign
Solution retrospective
I struggled a lot with the display Please don't hesitate if i did anything wrong i really want to learn.
Community feedback
- Account deleted
You need to set the height of the body for align-items to work and for the card to be centered vertically. Give the body 100vh height.
You can use "text-align: center" to center the text and "box-shadow" to make the shadow around the card.
And it's better to put the CSS in a separate file and link to it with a link element in HTML.
Marked as helpful0@ASH2001princePosted over 2 years ago@ZauriKhutsishvili thank you very much for all this important info and i letterly learned from your project a lot more than that.
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