Files
gtk/testsuite/css/parser/variables.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

16 lines
312 B
CSS

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