mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(modal): Fix modal animation for firefox, closes #671
This commit is contained in:
@@ -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);
|
||||
@@ -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
|
||||
// -------------------------------
|
||||
|
||||
Reference in New Issue
Block a user