-
Notifications
You must be signed in to change notification settings - Fork 11
/
grid.css
55 lines (48 loc) · 822 Bytes
/
grid.css
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
.cb-grid-lines {
height: 100%;
width: 100%;
top: 0;
left: 0;
position: fixed;
pointer-events: none;
z-index: 9999;
}
.cb-grid-lines > * {
box-sizing: border-box;
}
.cb-grid-lines .container {
height: 100%;
position: relative;
}
.cb-grid-lines .container:before {
content: '';
position: absolute;
left: 0;
top: 0;
width: 2px;
height: 100%;
background: red;
}
.cb-grid-lines .container:after {
content: '';
position: absolute;
right: 0;
top: 0;
width: 2px;
height: 100%;
background: red;
}
.cb-grid-lines .container .row {
height: 100%;
}
.cb-grid-lines .container .row > * {
height: 100%;
background: rgba(0,0,0,0.2);
}
.cb-grid-lines .container .row > *:before {
content: '';
display: block;
height: 100%;
width: 100%;
background: rgba(0,0,0,0.2);
}