gtk/testsuite/css/parser/variables.ref.css
Matthias Clasen f5d69fa0c5 css: Add some more variables tests
Add a test mixing color expressions with variables, and
empty fallback values.
2024-05-19 16:39:02 -04:00

22 lines
332 B
CSS

@keyframes aaaa {
from {
--test: red;
--test2: green;
}
to {
--test: blue;
--test3: cyan;
}
}
label {
background-color: var(--color2, green);
color: var(--color1);
--extra-color: mix(var(--color1,), var(--color2, var(--color1)), var(--factor, 0.2));
}
:root {
--color1: red;
--color2: initial;
}