aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-flexbox-1_dev/html/flexbox_width-overflow.htm
blob: 841587a1775054a2d3199f309a9550da705fd0f9 (plain) (blame)
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>
<html><head><title>flexbox | overflow</title>
<link href="http://opera.com" rel="author" title="Opera Software">
<link href="http://www.w3.org/TR/css-flexbox-1/#propdef-justify-content" rel="help">
<link href="reference/flexbox_empty-ref.htm" rel="match">
<style>
div {
	background: red;
	height: 4em;
	width: 0;
	overflow: hidden;

	display: flex;
	justify-content: space-around;
}
p {width: 200px;}
</style>

</head><body><div>
	<p>one two three four</p>
	<p>damer</p>
	<p>damer</p>
	<p>damer</p>
	<p>damer</p>
</div>
</body></html>