CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 11 of 182 | |
Testing | Date | Revision |
Substring matching attribute selector (end) (ID #10) | 2001-11-12 | 1.1 |
This paragraph should have a green background because its title attribute ends with "bar"
p { background-color : red } p[title$="bar"] { background-color : lime }
<p title="foobar">This paragraph should have a green background because its title attribute ends with "bar"</p>