-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
77 lines (77 loc) · 1.19 KB
/
style.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
* {
box-sizing: border-box;
}
body {
height: 100vh;
overflow: hidden;
}
.container {
padding-top: 30vh;
border: 1px solid red;
height: 100vh;
text-align: center;
}
.component {
float: left;
margin-top: -4px;
position: relative;
height: 50px;
width: 50px;
margin-right: 20px;
/* border:1px solid red; */
}
.component.ele {
border: 1px solid red;
}
.row {
display: inline-block;
margin: 10px 50px;
}
.row::after {
content: "";
display: block;
clear: both;
}
.component.ele::after {
display: none;
content: "";
position: absolute;
transform: translateY(-50%);
background-color: blue;
width: 80px;
height: 35px;
z-index: -1;
}
.component.ele.starter::after {
content: "";
position: absolute;
transform: scale(0.8);
background-color: blue;
width: 100%;
height: 100%;
display: block;
}
.component.ele.right::after {
display: block;
top: 25px;
left: 4px;
}
.component.ele.left::after {
display: block;
top: 25px;
right: 4px;
}
.component.ele.down::after {
display: block;
top: 43px;
right: 4px;
width: 40px;
height: 80px;
}
.component.ele.top::after {
display: block;
top: 0px;
right: 4px;
width: 40px;
height: 90px;
}