
Design comparison
Solution retrospective
i done it pretty quick
What specific areas of your project would you like help with?I dont fully understand focus states and what they mean and centering an image on the screen i do with align-items center it doesnt work
Please log in to post a comment
Log in with GitHubCommunity feedback
- @MarziaJalili
Awesome work!
A cherry on the top?
- If you want to center the card, you can set the code below in the body selector:
body { display: grid; place-items: center; min-height: 100vh; }
- Make sure that the card is the only child element of the <body>. If not wrapp everything nested inside <body> with the <main> element. It will look something like this:
<body> <main> <!-- every element nested inside --> </main> </body>
- One other gotcha is that with this code you don't need any padding or margin for the body . So, make sure to get rid of that too.
It definitely works, though!
😁😁😁
Marked as helpful - @CoreFrontTechnologies
u can use use hover in your css code example button:hover{ background-color: blue; }
so if u use this definately u would see your hover focus
- @cursebreakers
Nice!
Join 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