The CSS3 :empty Pseudo-Class in action

The :empty pseudo-class in action.

ul{list-style:none;width:200px;margin-left:200px;border:1px solid #333;padding-left:30px;background-color:#eee;font-family:Courier;font-size:14px;}
li{padding-top:3px;padding-bottom:3px;border:1px solid #eee;}
li:hover{border:1px solid #ddd;background-color:#ccc;}
li:empty{border:1px solid #333;padding:0;margin:0;}