Empty
:empty li:empty {background: green;}
Only the fourth item (with no content) has a green background:
Item 1
Item 2
Item 3