CSS Selector for Partial String at the Beginning of an Attribute-Value
Structure
element1[attr^="partialvalue"]
Description
This selector allows us to select elements by a substring, which is at the beginning of an attribute value.
Examples
Compatibility
| Chrome | Firefox | Internet Explorer | Opera | Safari |
|---|---|---|---|---|
| Any | Any | 7.0+ | Any | Any |