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

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