:root {
--bgcolour: #ffffd0;
--bqindents: 40px;
--warningtextsize: 125%;
}
When I validate above code it gets validation error.
jigsaw’s css validator
:root {
--bgcolour: #ffffd0;
--bqindents: 40px;
--warningtextsize: 125%;
}
When I validate above code it gets validation error.
jigsaw’s css validator
CSS variables are declared with two --
--main-color: black; /* vs */
-main-color: black;
Hope it helps
Is this an FCC challenge or just something you’re trying to do? We need a little bit more context, we can’t see what’s in front of you - it’s impossible to tell what your issue is without you explaining what you’re trying to do.
Im trying to use css custom property . I edited original post .
The CSS validator isn’t a particularly important thing so just ignore it, in this case it’s not validating valid code