-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
46 lines (46 loc) · 1 KB
/
style.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
.fixed-action-btn.spin-close .btn-large {
position: relative;
}
.fixed-action-btn.spin-close .btn-large i {
opacity: 1;
transition: transform 0.3s, opacity 0.3s;
}
.fixed-action-btn.spin-close .btn-large:before {
transition: transform 0.3s, opacity 0.3s;
content: " ";
position: absolute;
top: 50%;
left: 50%;
width: 1.64rem;
height: 2px;
background: white;
margin-top: -2px;
margin-left: -0.82rem;
transform: rotate(0);
opacity: 0;
}
.fixed-action-btn.spin-close .btn-large:after {
transition: transform 0.3s, opacity 0.3s;
content: " ";
position: absolute;
top: 50%;
left: 50%;
width: 1.64rem;
height: 2px;
background: white;
margin-top: -2px;
margin-left: -0.82rem;
transform: rotate(0);
opacity: 0;
}
.fixed-action-btn.spin-close.active .btn-large i {
opacity: 0;
}
.fixed-action-btn.spin-close.active .btn-large:before {
opacity: 1;
transform: rotate(135deg);
}
.fixed-action-btn.spin-close.active .btn-large:after {
opacity: 1;
transform: rotate(405deg);
}