-
Notifications
You must be signed in to change notification settings - Fork 2
/
stylep.css
47 lines (47 loc) · 891 Bytes
/
stylep.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
.container {
width: 960px;
margin: 0 auto;
text-align: center;
height: 100vh;
}
.container .steps {
position: relative;
top: 50%;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
}
.container .steps ul {
list-style: none;
}
.container .steps ul li {
display: inline-block;
width: 4rem;
height: 4rem;
line-height: 4rem;
border-radius: 100%;
background: #d8d8d8;
margin-right: 2rem;
position: relative;
}
.container .steps ul li:first-child {
margin-left: unset;
}
.container .steps ul li:first-child:before {
display: none;
}
.container .steps ul li:before {
content: "";
width: 2.4rem;
background-color: #d8d8d8;
height: 2px;
position: absolute;
top: 2rem;
right: 3.9rem;
}
.container .steps ul .active {
background: #03A9F4;
color: #fff;
}
.container .steps ul .active:before {
background-color: #03A9F4;
}