I recently cleaned up a dirty CSS template that someone else did. Among other things, there were many classes that were not used, duplicated selectors for merging, etc.
One thing I'm not sure about: empty ad units. There are 10-20 selectors that do not have style information attached.
Fragment 1:
thead th {padding: .5em .4em; text-align: left;}
thead td {}
tbody td {padding: .5em .4em;}
tbody th {}
tbody .alt td {}
tbody .alt th {}
tfoot th {}
tfoot td {}
Fragment 2:
#extras ul {
list-style: none;
margin: 0;
}
#extras li {}
Do these blank ads allow any purpose? I assume they are placeholders if the designer wanted to come back and add something.
If I delete statements at all, the site looks “excellent”, but ideally I would have a direct answer before I do this.
In the search attempt, a discussion of the pseudo-class basically appeared :empty.
MDN CSS , :
, null.
, ?