CSS 3 Module <== Test # ==>
W3C Selectors 271 of 276 of the static tests category
Testing Date Revision
Ends-with attribute selector with empty value (ID #184a) 2008-10-30 1.0

This text should be green.

This text should be green.

p { color: lime; }
p[class$=""] { color: red; }
<p class="">This text should be green.</p>
<p>This text should be green.</p>