Really simple. I just want to do this:
.div
{
padding-top: 16px;
transition: transform 250ms ease-in-out, filter 1000ms ease-in 250ms ease-out;
}
.div:hover
{
transform: translateY(-16px);
filter: brightness(110%) drop-shadow(0px 16px 16px red);
}
I only want to make the filter ease-in slower, yet ease-out with the transform at the same time.
It's all correct CSS till this part filter 1000ms ease-in 250ms ease-out; which is just an illustration code to what I wished I could do.
I also tried
transition: transform 250ms ease-in-out, filter 1000ms ease-in, filter 250ms ease-out;
But setting the filter more than 1 time just overrides the previous one.
Is there a CSS-only solution for this?