re: CSS :empty Selector VIEW POST


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


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 😅)

code of conduct - report abuse