summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/flexbox_margin-collapse-ref.html
blob: 13cf069f09690d9340bcc07f75f497dae2c73dfa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<title>flexbox | flexitem margin collapsing</title>
<link rel="author" href="http://opera.com" title="Opera Software">
<style>
body {
	margin: 0;
}
div {
	background: blue;
	border: 1px solid black;
}
p {
	margin: 1em 0;
}
p+p {
	margin: 2em 0 1em;
}
</style>

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