CSS [attribute$=value] Selector
Example
p[title$="World"] {
background: red;
}
Meaning
The [attribute$=value] selector selects all elements of that have the attribute that ends with the given value.
The above example selects all elements with a title attribute value that ends with "World":
Version: CSS3
Standard Syntax
[attribute$=value] {
css declarations;
}
Browser Support
The numbers in the table specify the first browser version that fully supports the property.