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 preview card

Omran kaboβ€’ 200

@Omrankabo

Desktop design screenshot for the NFT preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

Abdul Khaliq πŸš€β€’ 72,660

@0xabdulkhaliq

Posted

Hello there πŸ‘‹. Congratulations on successfully completing the challenge! πŸŽ‰

  • I have other recommendations regarding your code that I believe will be of great interest to you.

iMAGE OVERLAYπŸ“Έ:

  • You have done a nice job in perfectly handling the overlay for the view icon on top the image, but there's been a slight issue from UI prespective. Because the background you have set is not matching the design they provided
  • So you can change the background for .view element from `` to hsla(178.1, 100%, 50%, 0.5) during the :hover state
  • Another pro tip, you can add blur also which will take the UI to the next level!
  • Here's the css snippet as per suggestions,
img:hover {
filter: blur(2px);
}

.view {
background: hsla(178.1, 100%, 50%, 0.5);
}
  • Now your component got best additional qualities in ui prespective compared to other solutions in community!

.

I hope you find this helpful πŸ˜„ Above all, the solution you submitted is great !

Happy coding!

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