Categories Snippets Hiding Empty Elements with CSS Post author By Rod Post date December 1, 2014 No Comments on Hiding Empty Elements with CSS .slide_content:empty { display: none; } Share this: Click to email a link to a friend (Opens in new window) Email Click to share on X (Opens in new window) X Click to share on Reddit (Opens in new window) Reddit Like Loading... Related Tags css, empty, pseudoselector ← Basic Terminal Commands → Under The Table – Color Palette Leave a comment Cancel reply Δ