summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-layout-api/auto-block-size/auto-block-size-floats-ref.html
blob: 368d3d8693fec1b3b0dadc2c6d1862d224e8fa21 (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>
<style>
.container {
  width: 150px;
  border: solid 2px;
}

.left {
  float: left;
  background: green;
  width: 100px;
  height: 100px;
}

.right {
  float: right;
  background: green;
  width: 100px;
  height: 100px;
}
</style>

<div class="container">
  <div class="left"></div>
  <div class="right"></div>
</div>