Description

E[attr~="something"] matches any element E with attribute 'attr' that has a list of space seperated values where one is equal to 'something'.

See also:

Live Example
Play with the code in the textarea below.

Introduced in CSS version
3
Inherited
N/A
Browser Support
BrowsersIEFirefoxSafariOperaChrome
Versions71160.2
Belongs to:

See the full list CSS properties and browser support: CSS Properties