This is a solution to the NFT preview card component challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
Note: Delete this note and update the table of contents based on what sections you keep.
Users should be able to:
- View the optimal layout depending on their device's screen size
- See hover states for interactive elements
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
The most difficult part of the nft card challenge was the hover effect on the image file. I've been researching how to do this and I've discovered that the best way is to reduce the transparency of the color I'm using, rather than reducing it. Therefore, the color hsla(178, 100%, 50%, 0.644) in the css code has turned into a use in this way.
- Instagram - @codingdaily_blog