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

Responsive Preview Card Component

Helmer302 110

@Helmer135

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

@MordenWebDev

Posted

you can make them both to appear by using this

.topimg:hover .mask, .topimg:hover .viewicon { opacity: 1; }

and reduce the mask color opacity so the background image will be visible don't forget to adjust the height of mask;

Marked as helpful

0

Helmer302 110

@Helmer135

Posted

@MordenWebDev Thank you! It works perfectly well.

For the height of the mask, I replace it with the overlay tag from Bootstrap. It's now exactly the size of the parent div.

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