8 ms·
Thanks for the info! That was the rule I was hoping exists but couldn't bother to look up. Totally makes sense and fits well with CSS custom properties. Whil
by moritzwarhier 3y ago
Thanks for the info!
That was the rule I was hoping exists but couldn't bother to look up.
Totally makes sense and fits well with CSS custom properties.
While naming rules as syntax might seem smelly when it exceeds banning keywords as identifiers, I find this to be a sensible and well-thought-out rule, similar to the Custom Element dash-tag-name rule (notwithstanding other issues with the Web Component standard)
It's KISS and does it's best to make a good tradeoff regarding forwards-compatibility.