blob: 229966a94b53d95137c2515a014bca1ac43675f9 [file] [log] [blame]
<!doctype HTML>
<html>
<meta charset="utf8">
<title>CSS Content Visibility: container with child and text (reference)</title>
<link rel="author" title="Vladimir Levin" href="mailto:vmpstr@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-contain/#content-visibility">
<style>
#container {
width: 150px;
height: 150px;
background: lightblue;
}
#child {
width: 50px;
height: 50px;
background: lightgreen;
}
</style>
<div id=container>
Text.
<div id=child></div>
</div>