blob: a7a17af16770de4f244c9a08ef687182a8730e23 [file] [log] [blame]
<!DOCTYPE html>
| Descendant elements of the element with "display: none" do not generate any
| boxes; the element and its content are removed from the formatting structure
| entirely. This behavior cannot be overridden by setting the "display"
| property on the descendants.
.outer {
display: none;
.inner {
background-color: #f44336;
display: block;
height: 100px;
width: 100px;
<div class="outer">
<div class="inner"></div>