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 component solution with CSS3 and HTML5

StrigZ 270

@StrigZ

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


Hello! Image effects on hover was the hardest part for me because I didn't do such things previously. Did I do it wrong?

Community feedback

P

@Miculino

Posted

Hey @StrigZ

Congrats on completing the challenge. You did a really nice job!

No, you didn't do it wrong. There are multiple ways to approach this sort of stuff when it comes to CSS and your approach is good too. You can also achieve this image effect on hover using the ::after and ::before pseudo-classes.

Just two tweaks I suggest adding:

  • Reduce and soften the box shadow of the card a bit

  • Reduce the size of the card a bit when it reaches mobile screen size

Overall, you've done a nice job. Keep up the good work!

Marked as helpful

1

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