Tom Phippen

Professional web dev, amateur bookbinder, socialist

Dots in class names, a useful css note

I’ve never put a . in a class name before, but need to for a current job, just found out that this works

html

<span class="class.name">span</span>

css

span.class\.name { /* styling */ }