Not empty

Syntax

Class
Properties
{...}not-empty:{...}
{...}:not(:empty){...}
<div class="t1 w-full px-8 h-24 bg-c-white color-white not-empty:bg-c-blue"></div> <div class="t1 w-full px-8 h-24 bg-c-white color-white not-empty:bg-c-blue"> not empty </div>

Specification test cases

The test cases below are imported from the Turbo CSS specification. They have been executed upon loading this page.
Show element when not empty.
t1 not-empty:block
.t1.not-empty\:block:not(:empty) { display: block; }