[attribute^="value"] Selector

//the following example selects all elements with a class attribute value that begins with "top"

[class^="top"] {
  background: yellow;
}

Is used to select elements whose attribute value begins with 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: