It's possible to apply transition / animation to a CSS variable itself? instead of the CSS property? Something like:
.home {
--foo: red;
background: var(--foo);
transition: --foo 200ms linear;
}
.home:hover {
--foo: blue;
}
It's possible to apply transition / animation to a CSS variable itself? instead of the CSS property? Something like:
.home {
--foo: red;
background: var(--foo);
transition: --foo 200ms linear;
}
.home:hover {
--foo: blue;
}