<p>Visible text</p>
<p class="secret">Invisible text</p>`<display-box>` CSS type / notebook
`<display-box>` CSS type
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.
p.secret {
display: none;
}<div class="outer">
<div>Inner div.</div>
</div>.outer {
border: 2px solid red;
width: 300px;
display: contents;
}
.outer > div {
border: 1px solid green;
}