Design comparison
SolutionDesign
Solution retrospective
I was too lazy to also do the mobile version, sorry :( I need help with two things: -getting the card in the middle of the screen -using two fonts
Community feedback
- @J-HernandezMPosted almost 2 years ago
Hi! to place the card in the center i used in the main container or the body display: grid and place-items: center. to use two fonts i recommend you to import both of them, assign one of them as the main font in the body selector at the css file, then to use the other one try using font-family: 'The font you want' in the selector of the text that you want to change to the other font.
body{ font-family: 'Montserrat', sans-serif; } .cardContainer__title{ font-family: 'Fraunces', sans-serif; }
Marked as helpful0
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