3 ms·
I don’t like .this-is-correct{} because sometimes you have the same variable name in Javascript too, where dashes won’t work.
by indubitably 15y ago
I don’t like .this-is-correct{} because sometimes you have the same variable name in Javascript too, where dashes won’t work.
- intranation 15y agoDashes map more cleanly to existing CSS syntax, eg nth-child, background-color, etc. Much like camelCase looks more like Javascript than my_variable.