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: Click here
- Live Site URL: Click here
- Simple Html
- CSS simple
- Flexbox
I learned about (and I need to understand more about it),
tag for to create a simple line, to make a hover above image as a lit trick to me I used the background and another layer to do this
<div class="layer" style="background-color: var(--cyan);"></div>
.proud-of-this-css {
object-fit: cover;
position: absolute;
}
Like I said before I need to understand more about HR and how to use background-image with URL and hot to make a simple hover without maybe to many DIV
- Example resource 1 - Where I found a way to make a responsive hover without use a fixed position.
- Example resource 2 - About styling HR
- Website - Cintia Siqueira
- Frontend Mentor - @ciisiq
- Twitter - @Cii_siq
Doing anything is better than nothing