CSS 3 Module <== Test # ==>
W3C Selectors 286 of 296
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>