3 ms·
Did you guys read the docs? It literally does have this albeit the syntax is a bit odd: if(style(--foo: bar): baz) Is how you test if variable --foo is equal
by bawolff 11mo ago
Did you guys read the docs? It literally does have this albeit the syntax is a bit odd:
if(style(--foo: bar): baz)
Is how you test if variable --foo is equal to "bar"
See https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/if https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/V...