Submitted almost 2 years ago
NFT card component page using flex scss and bem
@ValentinYankov
Design comparison
SolutionDesign
Solution retrospective
I added the icon and the background color of cyan to the .card__head element and I gave the img element the equilibrium.jpg and an opacity of 1. on hover I lowerd the opacity of the img to 0.3 so the cyan color and the eye icon would pop out from underneath. Not sure if this is a good way of doing it. Feedback would be appreciated.
Community feedback
- @AdrianoEscarabotePosted almost 2 years ago
Hi Valentin Yankov, how are you? I really liked the result of your project, but I have some tips that I think you will enjoy:
To fix the height bug that is happening on the image, on lower resolutions, do this:
.card__head { height: auto; }
The rest is great!
I hope it helps... 👍
Marked as helpful1
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