File: multicol-gap-decorations-002-ref.html

package info (click to toggle)
firefox 145.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,653,344 kB
  • sloc: cpp: 7,594,932; javascript: 6,459,612; ansic: 3,752,905; python: 1,403,433; xml: 629,811; asm: 438,677; java: 186,421; sh: 67,287; makefile: 19,169; objc: 13,086; perl: 12,982; yacc: 4,583; cs: 3,846; pascal: 3,448; lex: 1,720; ruby: 1,003; exp: 762; php: 436; lisp: 258; awk: 247; sql: 66; sed: 54; csh: 10
file content (96 lines) | stat: -rw-r--r-- 2,049 bytes parent folder | download | duplicates (11)
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/css-gaps-1/">
<link rel="author" title="Javier Contreras" href="mailto:javiercon@microsoft.com">
<style>
    body {
        margin: 0px;
    }

    .outer {
        border: 2px solid rgb(96 139 168);
        width: 200px;
        height: 200px;
    }

    .container1 {
        position: absolute;
        top: 2px;
        column-gap: 10px;
        display: flex;
    }

    .items1 {
        background: rgb(96 139 168 / 0.2);
        height: 40px;
        margin: 0px;
        width: 60px;
    }

    .container2 {
        position: absolute;
        top: 60px;
        column-gap: 10px;
        display: flex;
    }

    .items2 {
        background: rgb(96 139 168 / 0.2);
        height: 130px;
        margin: 0px;
        width: 60px;
    }

    .row-gap {
        position: absolute;
        height: 10px;
        width: 200px;
        background: gold;
        left: 2px;
        top: 120px;
    }

    .column-gap1 {
        position: absolute;
        height: 40px;
        width: 10px;
        background: blue;
        top: 2px;
    }

    .column-gap2 {
        position: absolute;
        height: 142px;
        width: 10px;
        background: blue;
        top: 60px;
    }

    .spanner {
        position: absolute;
        background: cyan;
        width: 200px;
        height: 18px;
        top: 42px;
        left: 2px;
        opacity: 0.5;
    }
</style>

<div class="outer">
    <div class="container1">
        <div class="items1"></div>
        <div class="items1"></div>
        <div class="items1"></div>
    </div>
    <div class="container2">
        <div class="items2"></div>
        <div class="items2"></div>
        <div class="items2"></div>
    </div>
    <div class="column-gap1" style="left:62px;"></div>
    <div class="column-gap1" style="left:132px;"></div>
    <div class="column-gap2" style="left:62px;"></div>
    <div class="column-gap2" style="left:132px;"></div>
    <div class="row-gap"></div>
    <div class="spanner"></div>
</div>