Table of Contents

CSS

CSS-Tricks

Selectors

Attribute wildcard selectors

[class*="icon-"] class contains "icon-"
[class^="icon-"] class begins with "icon-"
[class$="icon-"] class ends with "icon-"

Changing pseudo element content with JS