1
- * {
1
+ * {
2
2
margin : 0 ;
3
3
padding : 0 ;
4
4
box-sizing : border-box;
5
- }
6
-
7
- body {
5
+ }
6
+
7
+ body {
8
8
width : 100% ;
9
9
height : 100vh ;
10
- background : linear-gradient (to right top, # ff0f7b, # f89b29 );
10
+ background : linear-gradient (to right top, # ff0f7b, # f89b29 );
11
11
display : flex;
12
12
flex-direction : column;
13
13
justify-content : center;
14
14
align-items : center;
15
- }
16
-
17
- h1 {
15
+ }
16
+
17
+ h1 {
18
18
font-size : 55px ;
19
- text-shadow : 0 1px 0 # ccc,
20
- 0 2px 0 # c9c9c9,
21
- 0 3px 0 # bbb,
22
- 0 4px 0 # b9b9b9,
23
- 0 5px 0 # aaa,
24
- 0 6px 1px rgba (0 , 0 , 0 , .1 ),
25
- 0 0 5px rgba (0 , 0 , 0 , .1 ),
26
- 0 1px 3px rgba (0 , 0 , 0 , .3 ),
27
- 0 3px 5px rgba (0 , 0 , 0 , .2 ),
28
- 0 5px 10px rgba (0 , 0 , 0 , .25 ),
29
- 0 10px 10px rgba (0 , 0 , 0 , .2 ),
30
- 0 20px 20px rgba (0 , 0 , 0 , .15 );
19
+ text-shadow : 0 1px 0 # ccc, 0 2px 0 # c9c9c9, 0 3px 0 # bbb, 0 4px 0 # b9b9b9,
20
+ 0 5px 0 # aaa, 0 6px 1px rgba (0 , 0 , 0 , 0.1 ), 0 0 5px rgba (0 , 0 , 0 , 0.1 ),
21
+ 0 1px 3px rgba (0 , 0 , 0 , 0.3 ), 0 3px 5px rgba (0 , 0 , 0 , 0.2 ),
22
+ 0 5px 10px rgba (0 , 0 , 0 , 0.25 ), 0 10px 10px rgba (0 , 0 , 0 , 0.2 ),
23
+ 0 20px 20px rgba (0 , 0 , 0 , 0.15 );
31
24
}
32
-
33
- .main {
25
+
26
+ .main {
34
27
width : 25% ;
35
28
height : 70% ;
36
29
padding : 50px 15px ;
39
32
align-items : center;
40
33
flex-direction : column;
41
34
background : # fff ;
42
- box-shadow : 0 10px 25px -10px rgba (0 , 0 , 0 , 0.5 );
35
+ box-shadow : 0 10px 25px -10px rgba (0 , 0 , 0 , 0.5 );
43
36
border-radius : 5px ;
44
- margin-top : 25px ;
37
+ margin-top : 25px ;
45
38
margin-bottom : 40px ;
46
- }
47
-
48
- .main .input {
39
+ }
40
+
41
+ .main .input {
49
42
width : 90% ;
50
43
padding : 8px 25px ;
51
44
border : 3px solid # 9e9e9e ;
52
45
outline : none;
53
46
margin : 15px 0 ;
54
- }
55
- .main .input : focus {
47
+ }
48
+ .main .input : focus {
56
49
border : 3px solid # f89b29 ;
57
- }
58
- .btn , .input {
59
- font-size : 1.1rem ;
50
+ }
51
+ .btn ,
52
+ .input {
53
+ font-size : 1.1rem ;
60
54
border-radius : 5px ;
61
- }
62
- .main .btn {
55
+ }
56
+ .main .btn {
63
57
width : 90% ;
64
58
padding : 12px 0 ;
65
59
outline : none;
66
- border : none;
60
+ border : none;
67
61
border-radius : 5px ;
68
62
background : # f89b29 ;
69
63
color : # fff ;
70
64
transition : 0.3s ;
71
- }
72
- .main .code {
65
+ }
66
+ .main .code {
73
67
margin : 10px 0 ;
74
- }
75
-
76
-
77
-
78
- .main .btn : hover {
68
+ }
69
+
70
+ .main .btn : hover {
79
71
box-shadow : 0 10px 25px -10px # f89b29 ;
80
- }
81
-
82
- # toast {
72
+ }
73
+
74
+ # toast {
83
75
position : absolute;
84
76
bottom : 0 ;
85
77
border-radius : 5px ;
89
81
visibility : hidden;
90
82
box-shadow : 0 10px 25px -10px # 07f49e ;
91
83
transition : 0.3s ;
92
-
84
+
93
85
font-size : 20px ;
94
- }
95
-
96
- # toast .show {
86
+ }
87
+
88
+ # toast .show {
97
89
visibility : visible;
98
90
opacity : 1 ;
99
91
bottom : 50px ;
100
- }
92
+ }
93
+
94
+
0 commit comments