Submitted

NFT preview card component solution with CSS3 and HTML5

StrigZ 30

@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

Report

3

Accessibility Issues

0

HTML Issues

View Report

StrigZ’s questions for the community

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

@Remus432

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

Give some feedback to @StrigZ about their solution...

Slack logo

Join our Slack community

Join over 100,000 people taking the challenges, talking about their code, helping each other, and chatting about all things front-end!