3 ms·
I don't think there's anything invalid about the colon character in a classname. It's unusual sure, and probably not recommended (it has to be escaped in select
by oneeyedpigeon 11y ago
I don't think there's anything invalid about the colon character in a classname. It's unusual sure, and probably not recommended (it has to be escaped in selectors, for one, which is a bit of a pain) but if it causes any tools to break, I think that's the fault of the tool.
- peterchon 11y agoof course, and I completely agree. I started off using a hyphen, but tried a colon just to make it look similar to inline-css.