king
2019-07-15 12c4d9c66a08101960107571b6e0aa3cf7b02874
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
@orange: #000;
@width: 12rem;
 
 
.animate(@animate_name) {
    display                    : flex;
    -webkit-animation-duration : 0.18s;
    animation-duration         : 0.18s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode        : both;
    animation-name             : @animate_name;
}
 
.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
 
.flipInY {
  -webkit-backface-visibility: visible !important;
  backface-visibility: visible !important;
  -webkit-animation-name: flipInY;
  animation-name: flipInY;
}
 
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
 
    25% {
        transform: rotate(45deg);
    }
 
    50% {
        transform: rotate(90deg);
    }
 
    75% {
        transform: rotate(135deg);
    }
 
    100% {
        transform: rotate(180deg);
    }
}
 
@keyframes rotate_return {
    from {
        transform: rotate(180deg);
    }
 
    25% {
        transform: rotate(135deg);
    }
 
    50% {
        transform: rotate(90deg);
    }
 
    75% {
        transform: rotate(45deg);
    }
 
    100% {
        transform: rotate(0deg);
    }
}
 
 
@-webkit-keyframes flipInY {
  from {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    opacity: 0;
  }
 
  40% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
 
  60% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    opacity: 1;
  }
 
  80% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
  }
 
  to {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }
}