-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathanimation.css
80 lines (68 loc) · 1.51 KB
/
animation.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
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
.btn-container{
position: relative;
}
.ani-button {
z-index: 2;
-webkit-transform: rotateY(0deg);
-ms-transform: rotateY(0deg);
-o-transform: rotateY(0deg);
transform: rotateY(0deg);
position: absolute;
top: 8px;
left: 12px;
}
.ani-button.ng-hide-remove{
-webkit-transition: 36s;
-o-transition: 36s;
transition: 36s;
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
-ms-transform-style: preserve-3d;
transform-style: preserve-3d;
position: absolute;
top: 8px;
left: 12px;
}
.ani-button.ng-hide{
-webkit-transform: rotateY(90deg);
-ms-transform: rotateY(90deg);
-o-transform: rotateY(90deg);
transform: rotateY(90deg);
}
.ani-repeat.ng-enter {
-webkit-animation: 0.5s opacity-bright-animation;
animation: 0.5s opacity-bright-animation;
}
.ani-repeat.ng-leave {
-webkit-animation: 0.5s opacity-dim-animation;
animation: 0.5s opacity-dim-animation;
}
.ani-repeat.ng-move {
-webkit-animation: 0.5s opacity-bright-animation;
animation: 0.5s opacity-bright-animation;
}
@keyframes opacity-bright-animation {
from { opacity:0; }
to { opacity:1; }
}
@-webkit-keyframes opacity-bright-animation {
from { opacity:0; }
to { opacity:1; }
}
@keyframes opacity-dim-animation {
from { opacity:1; }
to { opacity:0; }
}
@-webkit-keyframes opacity-dim-animation {
from { opacity:1; }
to { opacity:0; }
}
.my-div {
-webkit-transition: opacity 0.6s ease-in;
-o-transition: opacity 0.6s ease-in;
transition: opacity 0.6s ease-in;
opacity: 0;
}
.my-div:hover {
opacity: 1;
}