5 ms·
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 wi
by James0x57 6y ago
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 https://bugzilla.mozilla.org/show_bug.cgi?id=1630488 (not fixed yet)
https://bugs.chromium.org/p/chromium/issues/detail?id=1071296 https://bugs.chromium.org/p/chromium/issues/detail?id=107129... (fixed!)
And minifiers hate it. lol
- Rotten194 6y agoCould you get around it with a special `--empty: ;` rule in root perhaps? Would potentially make things more clear, also.
- James0x57 6y agoYes, 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