Selector | Example | Description |
---|---|---|
none | [target] | All elements with attribute |
= | [role="dialog"] | = Exact |
~= | [class~="box"] | ~= Has word |
|= | [class|="box"] | |= Exact or prefix (eg, value-) |
$= | [href$=".doc"] | $= Ends in |
^= | [href^="/index"] | ^= Begins with |
*= | [class*="-is-"] | *= Contains |