-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Expand file tree
/
Copy pathmulticol-gap-decorations-030.html
More file actions
53 lines (49 loc) · 1.29 KB
/
multicol-gap-decorations-030.html
File metadata and controls
53 lines (49 loc) · 1.29 KB
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
<!DOCTYPE html>
<title>
CSS Gap Decorations: Multicolumn gap decorations painted with rule-visibility: between.
</title>
<link rel="help" href="https://drafts.csswg.org/css-gaps-1/">
<link rel="match" href="multicol-gap-decorations-030-ref.html">
<link rel="author" title="Javier Contreras" href="mailto:javiercon@microsoft.com">
<style>
body {
margin: 0px;
}
.container {
width: 200px;
height: 270px;
column-count: 3;
column-width: 60px;
column-gap: 10px;
column-rule: 5px solid blue;
rule-visibility-items: between;
}
.items {
background: rgb(96 139 168 / 0.2);
height: 50px;
width: 60px;
margin: 0px;
writing-mode: vertical-rl;
}
.spanner {
height: 5px;
background: cyan;
column-span: all;
opacity:0.5;
}
</style>
<div class="container">
<div class="items"></div>
<div class="spanner"></div>
<div class="items"></div>
<div class="items"></div>
<div class="spanner"></div>
<div class="items"></div>
<div class="spanner"></div>
<div class="items"></div>
<div class="items"></div>
<div class="items"></div>
<div class="spanner"></div>
<div class="items"></div>
<div class="items"></div>
</div>