CSS Partial Attribute Selector

Structure

element1[attr~="value"]

Description

This selector allows us to select parts of an attribute-value which are separated by spaces.

Examples

Compatibility

Chrome Firefox Internet Explorer Opera Safari
Any Any 7.0+ Any Any




Comment