-
Tried using CSS
supports
as an if/then toggle: --toggle: null; /* invalid width */ supports (width: var(--toggle)) {…} It doesn’t work. -
Browsers consider
width: var(--toggle)
valid, even when the value of--toggle
is not.
supports
as an if/then toggle:
--toggle: null; /* invalid width */
supports (width: var(--toggle)) {…}
It doesn’t work.width: var(--toggle)
valid, even when the value of --toggle
is not.