[attribute*="value"] Selector

//the following example selects all elements with a class attribute value that contains "te"

[class*="te"] {
  background: yellow;
}

Is used to select elements whose attribute value contains a specified value.

The value does not have to be a whole word!.

[attribute*="value"] Selector — Structure map

Clickable & Draggable!

[attribute*="value"] Selector — Related pages: