Β« Oatmeal

Fun with hiding content in CSS

div[data-content] { display: block; }
div[data-content=""] { display: none; }

IF data-content is empty display the div ELSE display nothing

Post a response on your own site? Send me a webmention!