summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/flexbox_width-overflow.html
blob: b19d92e83bf828665cd405a7f74d03405f422686 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!DOCTYPE html>
<title>flexbox | overflow</title>
<link rel="author" href="http://opera.com" title="Opera Software">
<link rel="help"
	href="http://www.w3.org/TR/css-flexbox-1/#justify-content-property">
<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>