Heads up too, Firefox and Chrome both had trouble setting a var to space from the dev tools css panel. So if you play with this further, you may have to deal with that.
Yes, that would work. Then you just assign your properties to that var as long as you never inspect --empty on the root and you're good to test. Good thinking.
Should be fixed in FF sooner or later though, I reported it in April
Comments
Heads up too, Firefox and Chrome both had trouble setting a var to space from the dev tools css panel. So if you play with this further, you may have to deal with that.
I filed bugs to get it fixed though: https://bugzilla.mozilla.org/show_bug.cgi?id=1630488 (not fixed yet)
https://bugs.chromium.org/p/chromium/issues/detail?id=107129... (fixed!)
And minifiers hate it. lol
Could you get around it with a special `--empty: ;` rule in root perhaps? Would potentially make things more clear, also.
Yes, that would work. Then you just assign your properties to that var as long as you never inspect --empty on the root and you're good to test. Good thinking.
Should be fixed in FF sooner or later though, I reported it in April