<button id="reset">Reset</button>
<div id="wrapper">
<section containertiming="hero">
<h2>Hero content</h2>
</section>
</div>PerformanceContainerTiming: intersectionRect property
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.
#wrapper {
height: 150px;
overflow: hidden;
border: 1px solid black;
}