Tom Phippen

Professional web dev, amateur bookbinder, socialist

Archives for ‘Web Design’ section

Dots in class names, a useful css note

Web Design

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 */ }