summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/flexbox_fbfc2-ref.html
blob: 22be63304028f3c3a0f597ee09ccc3e10b0eff7a (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 | flex formatting context :: float intrusion</title>
<link rel="author" href="http://opera.com" title="Opera Software">
<style>
* {margin: 0;}
#float {
	background: lightblue;
	width: 200px;
	float: left;
}
#flex {
	background: #ffcc00;
	margin-left: -200px;
	width: 400px;
	overflow: hidden;
}
div div {
	margin: 2em;
}
</style>

<div id="float">float</div>

<div id="flex">
	<div>Yellow box yellow box yellow box</div>
</div>