On hover, I can't get the background to transition from 0 opacity to 0.6 on hover. Here is my CSS:
.work--overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: radial-gradient( rgba(64,56,43,0), rgba(0,0,0,0), rgba(0,0,0,0));
opacity: 1;
z-index: 1;
transition: background 0.3s ease-in-out;
}
.work--overlay:hover {
background: radial-gradient( rgba(64,56,43,0.6), rgba(0,0,0,0.6), rgba(0,0,0,0.6));
transition: background 0.3s ease-in-out;
}
I should also mention that the effect does work on hover, just the transition ease part isn't working. So I'm 99% sure this is a CSS thing.