summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/flexbox_visibility-collapse-line-wrapping-ref.html
blob: d85e8cda160516d13dc4ffcb9eaa1078e731a071 (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
27
28
29
30
31
<!DOCTYPE html>
<title>flexbox | visibility: collapse and line wrapping</title>
<link rel="author" href="http://opera.com" title="Opera Software">
<style>
body {
	margin: 0;
	width: 602px;
}
div {
	background: #3366cc;
	border: 1px solid black;
}
div::after {
	content: "";
	clear: both;
	display: block;
}
p {
	background: #ffcc00;
	margin: 1em 0;
	width: 300px;
	float: left;
}
</style>

<div>
	<p>filler</p>
	<p>filler</p>
	<p>filler</p>
	<p>filler</p>
</div>