You're reading…

the November 2010 archives

of tomphippen.com

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