Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-flexbox/abspos/flexbox_absolute-atomic.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>flexbox | abspos atomic flexitems</title>
<link rel="match" href="flexbox_absolute-atomic-ref.html">
<style>
body {margin: 0;}
body>div {
background: #ffcc00;
display: flex;
justify-content: space-around;
}
div div {
background: #3366cc;
margin: 20px;
}
#abs {
position: absolute;
top: -1000px;
}
</style>
<div>
<div>filler</div>
<div id="abs">filler</div>
<div>filler</div>
</div>