CSS selector with period in ID
You could also use the attribute selector like this:
[id='some.id'] {
color: #f00;
}
After digging through the specs some more, I found the CSS spec does allow for backslash (\
) escaping like most languages.
So in my example, the following rule would match:
#some\.id {
color: #f00;
}