Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

NFT card using SASS React js

dipakā€¢ 380

@dipakpadule

Desktop design screenshot for the NFT preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


updated view icon now centered with

.overlay-img{ width: 1.5rem; height: 1.5rem; position: absolute; top: 45%; transform: translateX(540%); }

and also semantic elements used to make app more screen reader friendly

Community feedback

GiwaHalimā€¢ 140

@GiwaHalim

Posted

great, but the positioning of the eye image is of. try setting the parent div to position:relative, set display:flex and align-item:center. then set position for the eye image to absolute, top: 50% and translateY: (-50%)

0

Please log in to post a comment

Log in with GitHub
Discord logo

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