Awesome NFT card created with flex-box

Solution retrospective
I don't know why but my screenshot has a problem at "0.041 ETH" only here in Frontend Mentor. My preview site is ok. Does anyone know why?
Please log in to post a comment
Log in with GitHubCommunity feedback
- @denielden
Hi Ronaldo, great work !
My card preview is the same as the frontend mentor screen ... line breaks because the container is set to flex. To fix it use
display: inline
for the children ofnft-amount
class.Also try to adding a little
transition
on the element with hover effect ;)Hope this help :)
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