summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-multicol/multicol-breaking-nobackground-000-ref.html
blob: 7a99354061cfeb982fffb921c850484dd02eac15 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
<!DOCTYPE HTML>
<title>CSS Test Reference: breaking of a multicolumn</title>
<meta charset="utf-8">
<link rel="author" title="L. David Baron" href="https://dbaron.org/">
<link rel="author" title="Mozilla" href="https://mozilla.org/">
<style>

.outer {
  height: 100px;
  width: 800px;
  background: rgba(0, 0, 255, 0.3);
  position: relative;
}

.inner {
  height: 100px;
  width: 86px;
  font: 16px/1.25 sans-serif;
  position: absolute;
  top: 0;
}

.lefthalf {
  border-right: 2px solid fuchsia;
  padding-right: 7px;
}

.righthalf {
  padding-left: 7px;
}

</style>

<div class="outer">
  <div class="inner lefthalf" style="left: 0">
    AAAAA<br>
    BBBBB<br>
    CCCCC
  </div>
  <div class="inner righthalf" style="left: 95px">
    DDDDD<br>
    EEEEE
  </div>
</div>