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/flexbox_width-overflow.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>flexbox | overflow</title>
<link rel="help"
<link rel="match" href="../reference/blank.html">
<style>
div {
background: red;
height: 4em;
width: 0;
overflow: hidden;
display: flex;
justify-content: space-around;
}
p {width: 200px;}
</style>
<div>
<p>one two three four</p>
<p>filler</p>
<p>filler</p>
<p>filler</p>
<p>filler</p>
</div>