NFT card component using flexbox and pseudo classes

Solution retrospective
I reduced opacity for cyan active state of image. I want to set full opacity for eye viewer in center of image but I can't. Any advice?
Please log in to post a comment
Log in with GitHubCommunity feedback
- @MubeenAhmadShaikh
Good work MOHAMMAD EBRAHIMI,
You can add your svg icon z-index of 2 it will be then displayed on top
Hope this helps you :)
Marked as helpful - Account deleted
Hi there 👋
Congratulate on finishing your project 🎉. You did a great job 💡
I give some suggestions to help you take your project design to the next level 📈😉
- I think you should center the card so to do this add code below to
body
in CSS
min-height: 100vh; display: grid; place-items: center;
- About your question: remove the opecity from
.card__cover__hover
, instead, change its background tobackground: hsl(178deg 100% 50% / 50%);
Happy coding ☕
Maqsud
Marked as helpful - I think you should center the card so to do this add code below to
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