Skip to content

Commit

Permalink
fix(modal): Fix modal animation for firefox, closes #671
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Bradley committed Feb 25, 2014
1 parent bdcd6bb commit 0033c88
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions scss/_animations.scss
Expand Up @@ -24,6 +24,16 @@ $slide-in-up-function: cubic-bezier(.1, .7, .1, 1);
opacity: 1;
}
}
@-moz-keyframes slideInUp {
0% {
@include translate3d(0, 100%, 0);
opacity: 0;
}
100% {
@include translate3d(0, 0, 0);
opacity: 1;
}
}
@-webkit-keyframes slideOutUp {
0% {
@include translate3d(0, 0, 0);
Expand All @@ -34,6 +44,16 @@ $slide-in-up-function: cubic-bezier(.1, .7, .1, 1);
opacity: 0;
}
}
@-moz-keyframes slideOutUp {
0% {
@include translate3d(0, 0, 0);
opacity: 1;
}
100% {
@include translate3d(0, 100%, 0);
opacity: 0;
}
}

// Slide In From Left
// -------------------------------
Expand Down

0 comments on commit 0033c88

Please sign in to comment.