mirror of
https://github.com/animate-css/animate.css.git
synced 2024-11-17 17:45:17 +01:00
Fixing broken hinge. Ironically.
This commit is contained in:
parent
5933841dd3
commit
cdca2d0f63
1 changed files with 20 additions and 25 deletions
|
@ -1,45 +1,40 @@
|
|||
@-webkit-keyframes hinge {
|
||||
0%, 20%, 40%, 60%, 80% { -webkit-transform-origin: top left; -webkit-animation-timing-function: ease-in-out; }
|
||||
0% { -webkit-transform: rotate(0); }
|
||||
20%, 60% { -webkit-transform: rotate(80deg); }
|
||||
40% { -webkit-transform: rotate(60deg); }
|
||||
80% { -webkit-transform: rotate(60deg) translateY(0); opacity: 1; }
|
||||
0% { -webkit-transform: rotate(0); -webkit-transform-origin: top left; -webkit-animation-timing-function: ease-in-out; }
|
||||
20%, 60% { -webkit-transform: rotate(80deg); -webkit-transform-origin: top left; -webkit-animation-timing-function: ease-in-out; }
|
||||
40% { -webkit-transform: rotate(60deg); -webkit-transform-origin: top left; -webkit-animation-timing-function: ease-in-out; }
|
||||
80% { -webkit-transform: rotate(60deg) translateY(0); opacity: 1; -webkit-transform-origin: top left; -webkit-animation-timing-function: ease-in-out; }
|
||||
100% { -webkit-transform: translateY(700px); opacity: 0; }
|
||||
}
|
||||
|
||||
@-moz-keyframes hinge {
|
||||
0%, 20%, 40%, 60%, 80% { -moz-transform-origin: top left; -moz-animation-timing-function: ease-in-out; }
|
||||
0% { -moz-transform: rotate(0); }
|
||||
20%, 60% { -moz-transform: rotate(80deg); }
|
||||
40% { -moz-transform: rotate(60deg); }
|
||||
80% { -moz-transform: rotate(60deg) translateY(0); opacity: 1; }
|
||||
0% { -moz-transform: rotate(0); -moz-transform-origin: top left; -moz-animation-timing-function: ease-in-out; }
|
||||
20%, 60% { -moz-transform: rotate(80deg); -moz-transform-origin: top left; -moz-animation-timing-function: ease-in-out; }
|
||||
40% { -moz-transform: rotate(60deg); -moz-transform-origin: top left; -moz-animation-timing-function: ease-in-out; }
|
||||
80% { -moz-transform: rotate(60deg) translateY(0); opacity: 1; -moz-transform-origin: top left; -moz-animation-timing-function: ease-in-out; }
|
||||
100% { -moz-transform: translateY(700px); opacity: 0; }
|
||||
}
|
||||
|
||||
@-ms-keyframes hinge {
|
||||
0%, 20%, 40%, 60%, 80% { -ms-transform-origin: top left; -ms-animation-timing-function: ease-in-out; }
|
||||
0% { -ms-transform: rotate(0); }
|
||||
20%, 60% { -ms-transform: rotate(80deg); }
|
||||
40% { -ms-transform: rotate(60deg); }
|
||||
80% { -ms-transform: rotate(60deg) translateY(0); opacity: 1; }
|
||||
0% { -ms-transform: rotate(0); -ms-transform-origin: top left; -ms-animation-timing-function: ease-in-out; }
|
||||
20%, 60% { -ms-transform: rotate(80deg); -ms-transform-origin: top left; -ms-animation-timing-function: ease-in-out; }
|
||||
40% { -ms-transform: rotate(60deg); -ms-transform-origin: top left; -ms-animation-timing-function: ease-in-out; }
|
||||
80% { -ms-transform: rotate(60deg) translateY(0); opacity: 1; -ms-transform-origin: top left; -ms-animation-timing-function: ease-in-out; }
|
||||
100% { -ms-transform: translateY(700px); opacity: 0; }
|
||||
}
|
||||
|
||||
@-o-keyframes hinge {
|
||||
0%, 20%, 40%, 60%, 80% { -o-transform-origin: top left; -o-animation-timing-function: ease-in-out; }
|
||||
0% { -o-transform: rotate(0); }
|
||||
20%, 60% { -o-transform: rotate(80deg); }
|
||||
40% { -o-transform: rotate(60deg); }
|
||||
80% { -o-transform: rotate(60deg) translateY(0); opacity: 1; }
|
||||
0% { -o-transform: rotate(0); -o-transform-origin: top left; -o-animation-timing-function: ease-in-out; }
|
||||
20%, 60% { -o-transform: rotate(80deg); -o-transform-origin: top left; -o-animation-timing-function: ease-in-out; }
|
||||
40% { -o-transform: rotate(60deg); -o-transform-origin: top left; -o-animation-timing-function: ease-in-out; }
|
||||
80% { -o-transform: rotate(60deg) translateY(0); opacity: 1; -o-transform-origin: top left; -o-animation-timing-function: ease-in-out; }
|
||||
100% { -o-transform: translateY(700px); opacity: 0; }
|
||||
}
|
||||
|
||||
@keyframes hinge {
|
||||
0%, 20%, 40%, 60%, 80% { transform-origin: top left; animation-timing-function: ease-in-out; }
|
||||
0% { transform: rotate(0); }
|
||||
20%, 60% { transform: rotate(80deg); }
|
||||
40% { transform: rotate(60deg); }
|
||||
80% { transform: rotate(60deg) translateY(0); opacity: 1; }
|
||||
0% { transform: rotate(0); transform-origin: top left; animation-timing-function: ease-in-out; }
|
||||
20%, 60% { transform: rotate(80deg); transform-origin: top left; animation-timing-function: ease-in-out; }
|
||||
40% { transform: rotate(60deg); transform-origin: top left; animation-timing-function: ease-in-out; }
|
||||
80% { transform: rotate(60deg) translateY(0); opacity: 1; transform-origin: top left; animation-timing-function: ease-in-out; }
|
||||
100% { transform: translateY(700px); opacity: 0; }
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue