forked from react-component/trigger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.less
57 lines (49 loc) · 948 Bytes
/
test.less
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
.rc-trigger-popup {
width: 100px;
}
.no-fix-width.rc-trigger-popup {
width: auto;
}
.target {
width: 100px;
height: 100px;
}
.fade-enter,.fade-appear {
display: block;
opacity: 0;
animation-duration: 0.5s;
animation-fill-mode: both;
animation-timing-function: cubic-bezier(0.55, 0, 0.55, 0.2);
animation-play-state: paused;
}
.fade-leave {
display: block;
animation-duration: 0.5s;
animation-fill-mode: both;
animation-timing-function: cubic-bezier(0.55, 0, 0.55, 0.2);
animation-play-state: paused;
}
.fade-enter.fade-enter-active,.fade-appear.fade-appear-active {
animation-name: rcDialogFadeIn;
animation-play-state: running;
}
.fade-leave.fade-leave-active {
animation-name: rcDialogFadeOut;
animation-play-state: running;
}
@keyframes rcDialogFadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyframes rcDialogFadeOut {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}