NFT preview using flexbox and CSS Grid

Solution retrospective
Feedback on the design welcome.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @denielden
Hi Thobo, great work on this challenge! 😉
Here are a few tips for improve your code:
- You can add the effect
:hover
creating adiv
that appears on hover. I used tailwind but you can still see and understand which css properties you can use to do the same. Look here -> my solution - use
main
tag for wrap the card or content of the page, not the content of card - remove all
margin
from.container
class because with grid they are superfluous - after, add
min-height: 100vh and margin: 0
to body because Grid aligns child items to the size of the parent container - instead of using
px
use relative units of measurement likerem
-> read here
Overall you did well 😁 Hope this help!
Marked as helpful - You can add the effect
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