[attribute$="value"] Selector

//the following example selects all elements with a class attribute value that ends with "test"

[class$="test"] {
  background: yellow;
}

Is used to select elements whose attribute value ends with a specified value.

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

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

Clickable & Draggable!

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