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; }
Written by Joe Critchley
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Css
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#