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

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

Please focus on giving high-quality, helpful feedback and answering any questions StrigZ might have. Here are some key points to consider:

  • Does the solution include semantic HTML?
  • Is it accessible, and what improvements could be made?
  • Does the layout look good on a range of screen sizes?
  • Is the code well-structured, readable, and reusable?

You can read our community guidelines if you're unsure what to post.

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!