-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
83 lines (68 loc) · 1.31 KB
/
Copy pathstyle.css
File metadata and controls
83 lines (68 loc) · 1.31 KB
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
/* Text box */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;}
/* -------------------- */
/* Button */
button{
position: absolute;
top: 90%;
left: 50%;
transform: translate(-50%, -50%);
width: 250px;
height: 40px;
line-height: 1;
font-size: 18px;
font-weight: bold;
letter-spacing: 1px;
background: #fff;
color: #0275d8;
cursor: pointer;
overflow: hidden;
transition: all .35s;
}
/* button:hover{
background: #0275d8;
color: #fff;
} */
/* button span{
opacity: 1;
visibility: visible;
transition: all .35s;
} */
.success{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #fff;
z-index: 1;
opacity: 0;
visibility: hidden;
transition: all .35s;
}
.success svg{
width: 20px;
height: 20px;
fill: yellowgreen;
transform-origin: 50% 50%;
transform: translateY(-50%) rotate(0deg) scale(0);
transition: all .35s;
}
button.is_active{
width: 40px;
height: 40px;
}
button.is_active .success{
opacity: 1;
visibility: visible;
}
button.is_active .success svg{
margin-top: 50%;
transform: translateY(-50%) rotate(720deg) scale(1);
}
button.is_active span{
opacity: 0;
visibility: hidden;
}