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.
- Solution URL: Please view my solution.
- HTML5
- CSS3
The difficult part of this challenge was placing an overlay on the image of the 3d-cube. I couldn't quite figure out where I needed to place my classes or where I needed to place the div
for the overlay. After watching the video mentioned in useful resources, I composed the following HTML:
Now that I had my HTML in place, I was able to compose corresponding CSS:
- Overlay:hover - This video by dcode helped me create an overlay and position it over the image of the 3d-cube. I really liked this video as they explain the reasoning behind their decision-making, which made it easier for me to understand how to apply the concepts to my HTML and CSS.
- Frontend Mentor - @MReyna12
- Twitter - @michaelpreyna
- LinkedIn - @michaelpreyna