NFT preview card using flex

Please log in to post a comment
Log in with GitHubCommunity feedback
- P@DeyanTopalov
Hi there,
Good job on the challenge!
A have just a few notes:
- Your active state on the img is not working, and the active state on the name at the bottom as well;
- Your card has far greater width than the provided challenge design. A nice tip I found somewhere in YouTube is to measure the distances from a screenshot (if on mac you can do that with the screenshot tool or straight in the Preview app). Then you can convert them to rem by using any web px to rem converter and set them as max-width + adjusting with @media query. Example:
.card { max-width: 21rem; } @media (min-width: 600px) { .card { max-width: 25rem; }
Hope this helps!
Marked as helpful
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