Hover effect not working in Fonts, colors and images Posted September 16, 2023 · Edited September 16, 2023 by Elysian888 Never tried custom css before, my code isn't working but I don't know where I've gone wrong. The selector is right (it works for grayscale) but the hover effect of the thumbnail floating up a bit on hover isn't working. any tips? // image hover effect // .portfolio-grid-overlay .grid-item .grid-image { transition: 0.3s !important; &:hover { transition: 0.3s !important; margin-top: -10px; } }
Hover effect not working
in Fonts, colors and images
Posted · Edited by Elysian888
Never tried custom css before, my code isn't working but I don't know where I've gone wrong. The selector is right (it works for grayscale) but the hover effect of the thumbnail floating up a bit on hover isn't working.
any tips?
// image hover effect //
.portfolio-grid-overlay .grid-item .grid-image {
transition: 0.3s !important;
&:hover {
transition: 0.3s !important;
margin-top: -10px;
}
}