File tree Expand file tree Collapse file tree 1 file changed +103
-0
lines changed
Expand file tree Collapse file tree 1 file changed +103
-0
lines changed Original file line number Diff line number Diff line change 1+ : root {
2+ --line-border-filler : # 3498db ;
3+ --line-border-empty : # e0e0e0 ;
4+ }
5+
6+ * {
7+ box-sizing : border-box;
8+ }
9+
10+ body {
11+ background-color : # fff ;
12+ font-family : Georgia, 'Times New Roman' , Times, serif;
13+ margin : 0 ;
14+ overflow : hidden;
15+ height : 100vh ;
16+ padding : 20px ;
17+ }
18+
19+ h1 {
20+ text-align : center;
21+ }
22+
23+ .container {
24+ display : flex;
25+ flex-direction : column;
26+ align-items : center;
27+ margin-top : 15% ;
28+ }
29+
30+ .progress-container {
31+ display : flex;
32+ justify-content : space-between;
33+ position : relative;
34+ margin-bottom : 30px ;
35+ max-width : 100% ;
36+ width : 350px ;
37+ }
38+
39+ .progress-container ::before {
40+ content : '' ;
41+ background-color : var (--line-border-empty );
42+ position : absolute;
43+ top : 50% ;
44+ left : 0 ;
45+ height : 4px ;
46+ width : 100% ;
47+ z-index : -1 ;
48+ transform : translateY (-50% );
49+ }
50+
51+ .progress {
52+ background-color : var (--line-border-filler );
53+ position : absolute;
54+ top : 50% ;
55+ left : 0 ;
56+ height : 4px ;
57+ width : 0 ;
58+ z-index : -1 ;
59+ transform : translateY (-50% );
60+ transition : 0.4s ease;
61+ }
62+
63+ .circle {
64+ background-color : # fff ;
65+ color : # 999 ;
66+ border-radius : 50% ;
67+ height : 30px ;
68+ width : 30px ;
69+ display : flex;
70+ align-items : center;
71+ justify-content : center;
72+ border : 3px solid var (--line-border-empty );
73+ transition : 0.4s ease;
74+ }
75+
76+ .circle .active {
77+ border-color : var (--line-border-filler );
78+ }
79+
80+ button {
81+ background-color : var (--line-border-filler );
82+ color : # fff ;
83+ border : 0 ;
84+ border-radius : 6px ;
85+ cursor : pointer;
86+ font-family : inherit;
87+ padding : 8px 30px ;
88+ margin : 5px ;
89+ font-size : 14px ;
90+ }
91+
92+ button : active {
93+ transform : scale (0.98 );
94+ }
95+
96+ button : focus {
97+ outline : 0 ;
98+ }
99+
100+ button : disabled {
101+ background-color : var (--line-border-empty );
102+ cursor : not-allowed;
103+ }
You can’t perform that action at this time.
0 commit comments