22 lines
470 B
HTML
22 lines
470 B
HTML
<!doctype HTML>
|
|
<html>
|
|
<meta charset="utf8">
|
|
<title>CSS Content Visibility: positioned container (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;
|
|
}
|
|
.positioned {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
</style>
|
|
|
|
<div id=container class=positioned></div>
|
|
|