-
Notifications
You must be signed in to change notification settings - Fork 3.1k
/
multicol-basic-002.html
65 lines (58 loc) · 1.67 KB
/
multicol-basic-002.html
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!DOCTYPE html>
<html>
<!-- Submitted from TestTWF Paris -->
<head>
<meta charset="utf-8">
<title>CSS Test: Multi-column element via column-count: [integer]</title>
<link rel="author" title="Anselm Hannemann" href="mailto:[email protected]"/>
<link rel="author" title="Håkon Wium Lie" href="mailto:[email protected]"/>
<link rel="help" href="http://www.w3.org/TR/css3-multicol/#columns"/>
<link rel="match" href="reference/multicol-basic-ref.html"/>
<meta name="flags" content="ahem"/>
<link rel="reviewer" title="Elika J Etemad" href="http://fantasai.inkedblade.net/contact">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
.multicol-wrapper>*{
font: 20px/1 Ahem;
}
div.multicol-wrapper{
border: thin solid black;
display: inline-block;
margin: 1em auto;
width: 360px;
}
.multicol-basic-ref{
background: yellow;
width: 360px;
column-count: 3;
column-gap: 0;
column-rule: none;
}
.multicol-basic-ref-item{
background: #000;
}
.item-1{
background: purple;
color: purple;
}
.item-2{
background: orange;
color: orange;
}
.item-3{
background: blue;
color: blue;
}
</style>
</head>
<body>
<p>Test passes if there are three vertical stripes in the yellow box below: 1st purple, 2nd orange, 3rd blue.</p>
<div class="multicol-wrapper">
<div class="multicol-basic-ref">
<span class="multicol-basic-ref-item item-1">XXXX XXXX XXXX XXXX XXXX XXXX XXXX</span>
<span class="multicol-basic-ref-item item-2">XXXX XXXX XXXX XXXX XXXX XXXX XXXX</span>
<span class="multicol-basic-ref-item item-3">XXXX XXXX XXXX XXXX XXXX XXXX XXXX</span>
</div>
</div>
</body>
</html>