-
Notifications
You must be signed in to change notification settings - Fork 8
/
1px.css
93 lines (93 loc) · 1.54 KB
/
1px.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
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
.b-1px,
.b-1px-t,
.b-1px-b,
.b-1px-tb,
.b-1px-l,
.b-1px-r {
position: relative;
}
.b-1px:before {
content: " ";
position: absolute;
left: 0;
top: 0;
width: 200%;
height: 1px;
border: 1px solid #C7C7C7;
color: #C7C7C7;
height: 200%;
transform-origin: left top;
transform: scale(0.5);
}
.b-1px-t:before {
content: " ";
position: absolute;
left: 0;
top: 0;
right: 0;
height: 1px;
border-top: 1px solid #C7C7C7;
color: #C7C7C7;
transform-origin: 0 0;
transform: scaleY(0.5);
}
.b-1px-b:after {
content: " ";
position: absolute;
left: 0;
bottom: 0;
right: 0;
height: 1px;
border-bottom: 1px solid #C7C7C7;
color: #C7C7C7;
transform-origin: 0 100%;
transform: scaleY(0.5);
}
.b-1px-tb:before {
content: " ";
position: absolute;
left: 0;
top: 0;
right: 0;
height: 1px;
border-top: 1px solid #C7C7C7;
color: #C7C7C7;
transform-origin: 0 0;
transform: scaleY(0.5);
}
.b-1px-tb:after {
content: " ";
position: absolute;
left: 0;
bottom: 0;
right: 0;
height: 1px;
border-bottom: 1px solid #C7C7C7;
color: #C7C7C7;
transform-origin: 0 100%;
transform: scaleY(0.5);
}
.b-1px-l:before {
content: " ";
position: absolute;
left: 0;
top: 0;
width: 1px;
bottom: 0;
border-left: 1px solid #C7C7C7;
color: #C7C7C7;
transform-origin: 0 0;
transform: scaleX(0.5);
}
.b-1px-r:after {
content: " ";
position: absolute;
right: 0;
top: 0;
width: 1px;
bottom: 0;
border-right: 1px solid #C7C7C7;
color: #C7C7C7;
transform-origin: 100% 0;
transform: scaleX(0.5);
}