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.
Users should be able to:
- View the optimal layout depending on their device's screen size
- See hover states for interactive elements
- Solution URL: https://github.com/albina0104/nft-preview-card-component
- Live Site URL: https://albina0104.github.io/nft-preview-card-component/
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
I learned how to add a nice hover effect on an image.
- CSS Styling Images - A section "Image Hover Overlay" of this W3Schools tutorial has good examples of how to add hover effects to images. It helped me to learn how to do it. I really liked these examples and will use them going forward.
- Code example on W3Schools - This is one of the examples that helped me with my solution.
- Frontend Mentor - @albina0104
- GitHub - albina0104