https://github.com/sha-red/compass-mixins/tree/master/lib
extended with more sass frameworks and as django app.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.3 KiB
43 lines
1.3 KiB
![]()
12 years ago
|
// ---------------------------------------------------------------------------
|
||
|
@include keyframes(hinge) {
|
||
|
0% {
|
||
|
@include rotate(0);
|
||
|
@include transform-origin(top left);
|
||
|
@include animation-timing-function(ease-in-out); }
|
||
|
20%, 60% {
|
||
|
@include rotate(80deg);
|
||
|
@include transform-origin(top left);
|
||
|
@include animation-timing-function(ease-in-out); }
|
||
|
40% {
|
||
|
@include rotate(60deg);
|
||
|
@include transform-origin(top left);
|
||
|
@include animation-timing-function(ease-in-out); }
|
||
|
80% {
|
||
|
@include transform(rotate(60deg) translateY(0));
|
||
|
@include opacity(1);
|
||
|
@include transform-origin(top left);
|
||
|
@include animation-timing-function(ease-in-out); }
|
||
|
100% {
|
||
|
@include translateY(700px);
|
||
|
@include opacity(0); } }
|
||
|
|
||
|
|
||
|
// ---------------------------------------------------------------------------
|
||
|
@include keyframes(rollIn) {
|
||
|
0% {
|
||
|
@include opacity(0);
|
||
|
@include transform(translateX(-100%) rotate(-120deg)); }
|
||
|
100% {
|
||
|
@include opacity(1);
|
||
|
@include transform(translateX(0px) rotate(0deg)); } }
|
||
|
|
||
|
|
||
|
// ---------------------------------------------------------------------------
|
||
|
@include keyframes(rollOut) {
|
||
|
0% {
|
||
|
@include opacity(1);
|
||
|
@include transform(translateX(0px) rotate(0deg)); }
|
||
|
100% {
|
||
|
@include opacity(0);
|
||
|
@include transform(translateX(-100%) rotate(-120deg)); } }
|