@imadbg01
Posted
Greeting Kevin Garcia!! Congratulations for completing your challenge!, 👏👏👏 .
I take a look at you code, and You're actually so close to archive that hover effect.
I did some changes to make it work for you, helpfully can give you some hints.
style.css line 100
.brium {
width: 360px;
height: 360px;
position: relative;
background-color: var(--Cyan);
display: block;
transition: all 300ms ease-in-out;
z-index: 1;
border-radius: 1rem;
overflow: hidden;
}
.brium::after {
content: url(../images/icon-view.svg);
position: absolute;
top:50%;
left: 50%;
transform: translate(-50%, -50%);
opacity: 0;
transition: all 300ms ease-in-out;
}
.brium:hover img {
opacity: 0.55;
}
.brium:hover::after {
opacity: 1;
}
/* and here you have it, just remove the reset */
/* HOVERS */
/* .equilibrium:hover {
color: var(--Cyan);
cursor: pointer;
}
.name:hover {
color: var(--Cyan);
cursor: pointer;
}
.brium:hover{
background-color: var(--Cyan);
border-radius: 1rem;
background-image: url(/images/icon-view.svg);
} */
Hope this help!!
useful resource
overall, Happy codding, and have a Good Day/Night
Marked as helpful