-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyles.css
100 lines (86 loc) · 1.61 KB
/
styles.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
94
95
96
97
98
99
100
body {
margin: 0;
display: flex;
justify-content: center;
height: 100vh;
align-items: center;
background-color: yellowgreen;
}
.container {
text-align: center;
}
.progress-container {
width: 500px;
display: flex;
position: relative;
justify-content: space-between;
}
.progress-bar-back {
position: absolute;
height: 4px;
width: 100%;
background-color: lightgray;
border: none;
z-index: -1;
margin: 0;
top: 50%;
transform: translateY(-50%);
}
.progress-bar-front {
position: absolute;
height: 4px;
width: 0%;
background-color: green;
border: none;
z-index: -1;
margin: 0;
top: 50%;
transform: translateY(-50%);
transition: 0.4s linear width;
}
.step {
width: 30px;
height: 30px;
background-color: white;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
border: 4px solid lightgray;
color: lightgray;
}
.step.checked {
color: green;
border-color: green;
transition: all 0.4s linear;
transition-delay: 0.3s;
}
.step.checked small {
position: absolute;
bottom: -20px;
font-family: cursive;
}
.btn {
background-color: slateblue;
border: none;
color: white;
padding: 10px 20px;
margin: 70px 10px 0;
border-radius: 5px;
cursor: pointer;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}
.btn:hover {
opacity: 0.9;
}
.btn:active {
transform: scale(0.97);
}
.btn:disabled {
background-color: lightgray;
}
@media (max-width: 500px) {
.progress-container {
width: 90vw;
}
}