Attribute substring matching selectors
Item 1
Item 2
Item 3
Item 4
li[class^="a"] { font-size: 200%; } li[class$="a"] { background-color: yellow; } li[class*="a"] { color: red; }
Attribute substring matching selectors
Item 1
Item 2
Item 3
Item 4