Submitted almost 3 years ago
NFT preview card component using CSS flexbox
@username-copied
Design comparison
SolutionDesign
Community feedback
- @RioCantrePosted almost 3 years ago
Hello there! Good job in completing this challenge. Looking at your solution, I would suggest the following for you...
- Import the
attribution
style in the CSS file and removestyle
tag - Clean the whistespaces in the code
- Add the hover state of the design. For the hero image, you can use this as an example Overlay in image. For the fonts, add
color: var(--cyan);
in.nft__name:hover
and.white:hover
rule set - Remove
margin-left: 2.5rem;
in.nft__price
and.nft__time
rule set. - Add
margin: 0 2.5rem;
andpadding: 1.5rem 0;
in the.nft__details
rule set
Hope this helps and Keep it up!
Marked as helpful0 - Import the
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