HTML and CSS Reference
In-Depth Information
Name
Arbitrary Substring Attribute Value Selector
Pattern:
element1[attr*="substring"]
Description:
This allows authors to select any element based on a substring found anywhere within an at-
tribute's value.
Examples:
a[href*="oreilly.com"] {font-weight: bold;}
div [class*="port"] {border: 1px solid red;}
Search WWH ::




Custom Search