Last Updated: February 25, 2016
·
1.919K
· joecritch

Escape characters in CSS attribute selectors

If you want to select namespaced attributes in CSS (which is becoming popular again in JS libraries such as AngularJS) you can do use a backslash, e.g:

[namespace\:attribute] { display: none; }