Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-multicol/nested-oofs-in-relative-multicol.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<link rel="match" href="reference/nested-oofs-in-relative-multicol-ref.html">
<link rel="author" title="Koji Ishii" href="mailto:kojii@chromium.org">
<style>
.outer {
position: relative;
margin-left: 100px;
width: 400px;
height: 400px;
column-count: 2;
overflow: hidden;
background: yellow;
}
.cb {
position: absolute;
top: 0;
left: 0;
width: 400px;
height: 400px;
background: red;
}
.img {
position: absolute;
top: 0;
left: 0;
width: 400px;
height: 400px;
background: green;
}
</style>
<body>
<div class="outer">
<div class="cb">
<div class="img"></div>
</div>
</div>
</body>