DEV Community

Discussion on: CSS :empty Selector

Collapse
 
jlabs profile image
jlabs • Edited

I've used this recently within ul that show's a message when the ul has no children - the list was populated via JS.

Collapse
 
samanthaming profile image
Samantha Ming

It use to be that designers would had to hand this back to developers to fix this JS. Now we're empowering designers to make these fixes with just CSS. Pretty neat! (but JS developers should probably fix these empty population of these elements πŸ˜…)