Source: dist/css/acc_uc.css, line
5845
7.4.1
Display Nothing on Empty
This utility class is used to hide an element when it contains no content. This is super useful for creating a space that needs to be decorated but also doesn't need to be shown when empty.
<h2> <strong class="font_bold c_primary-n2 uppercase">Does Not Have</strong> class display_none:empty and has <strong class="font_bold c_primary-n2 uppercase">No Content</strong></h2>
<div class="p-b_3 br_solid br_primary br_1"></div>
<h2> <strong class="font_bold c_primary-n2 uppercase">Has</strong> class display_none:empty and has <strong class="font_bold c_primary-n2 uppercase">No Content</strong></h2>
<div class="p-b_3 br_solid br_primary br_1 display_none:empty"></div>
<h2> <strong class="font_bold c_primary-n2 uppercase">Has</strong> class display_none:empty has <strong class="font_bold c_primary-n2 uppercase">Content</strong></h2>
<div class="p-b_3 br_solid br_primary br_1 display_none:empty">any content including space will show the element</div>