to { -moz-transform: translate3d(0, 100%, 0); }
}
+/* slide up + fade */
+
+.slideupfade.out {
+ -webkit-animation-name: fadeout;
+ -moz-animation-name: fadeout;
+ -webkit-animation-duration: 100ms;
+ -moz-animation-duration: 100ms;
+}
+
+.slideupfade.in {
+ -webkit-transform: translate3d(0, 0, 0);
+ -webkit-animation-name: slideupfadeinfrombottom;
+ -moz-transform: translate3d(0, 0, 0);
+ -moz-animation-name: slideupfadeinfrombottom;
+ -webkit-animation-duration: 250ms;
+ -moz-animation-duration: 250ms;
+}
+
+.slideupfade.in.reverse {
+ -webkit-animation-name: fadein;
+ -moz-animation-name: fadein;
+ -webkit-animation-duration: 150ms;
+ -moz-animation-duration: 150ms;
+}
+
+.slideupfade.out.reverse {
+ -webkit-transform: translate3d(0, 5%, 0);
+ -moz-transform: translate3d(0, 5%, 0);
+ -webkit-animation-name: slideupfadeouttobottom;
+ -moz-animation-name: slideupfadeouttobottom;
+ -webkit-animation-duration: 200ms;
+ -moz-animation-duration: 200ms;
+}
+
+@-webkit-keyframes slideupfadeinfrombottom {
+ from {
+ opacity: 0;
+ -webkit-transform: translate3d(0, 5%, 0);
+ }
+ to {
+ opacity: 1;
+ -webkit-transform: translate3d(0, 0, 0);
+ }
+}
+@-moz-keyframes slideupfadeinfrombottom {
+ from {
+ opacity: 0;
+ -moz-transform: translate3d(0, 5%, 0);
+ }
+ to {
+ opacity: 1;
+ -moz-transform: translate3d(0, 0, 0);
+ }
+}
+
+@-webkit-keyframes slideupfadeouttobottom {
+ from {
+ opacity: 1;
+ -webkit-transform: translate3d(0, 0, 0);
+ }
+ to {
+ opacity: 0;
+ -webkit-transform: translate3d(0, 5%, 0);
+ }
+}
+@-moz-keyframes slideupfadeouttobottom {
+ from {
+ opacity: 1;
+ -moz-transform: translate3d(0, 0, 0);
+ }
+ to {
+ opacity: 0;
+ -moz-transform: translate3d(0, 5%, 0);
+ }
+}
+
+/* slide down + fade */
+
+.slidedownfade.out {
+ -webkit-animation-name: fadeout;
+ -moz-animation-name: fadeout;
+ -webkit-animation-duration: 100ms;
+ -moz-animation-duration: 100ms;
+}
+
+.slidedownfade.in {
+ -webkit-transform: translate3d(0, 0, 0);
+ -webkit-animation-name: slidedownfadeinfromtop;
+ -moz-transform: translate3d(0, 0, 0);
+ -moz-animation-name: slidedownfadeinfromtop;
+ -webkit-animation-duration: 250ms;
+ -moz-animation-duration: 250ms;
+}
+
+.slidedownfade.in.reverse {
+ -webkit-animation-name: fadein;
+ -moz-animation-name: fadein;
+ -webkit-animation-duration: 150ms;
+ -moz-animation-duration: 150ms;
+}
+
+.slidedownfade.out.reverse {
+ -webkit-transform: translate3d(0, -5%, 0);
+ -moz-transform: translate3d(0, -5%, 0);
+ -webkit-animation-name: slidedownfadeouttotop;
+ -moz-animation-name: slidedownfadeouttotop;
+ -webkit-animation-duration: 200ms;
+ -moz-animation-duration: 200ms;
+}
+
+@-webkit-keyframes slidedownfadeinfromtop {
+ from {
+ opacity: 0;
+ -webkit-transform: translate3d(0, -5%, 0);
+ }
+ to {
+ opacity: 1;
+ -webkit-transform: translate3d(0, 0, 0);
+ }
+}
+@-moz-keyframes slidedownfadeinfromtop {
+ from {
+ opacity: 0;
+ -moz-transform: translate3d(0, -5%, 0);
+ }
+ to {
+ opacity: 1;
+ -moz-transform: translate3d(0, 0, 0);
+ }
+}
+
+@-webkit-keyframes slidedownfadeouttotop {
+ from {
+ opacity: 1;
+ -webkit-transform: translate3d(0, 0, 0);
+ }
+ to {
+ opacity: 0;
+ -webkit-transform: translate3d(0, -5%, 0);
+ }
+}
+@-moz-keyframes slidedownfadeouttotop {
+ from {
+ opacity: 1;
+ -moz-transform: translate3d(0, 0, 0);
+ }
+ to {
+ opacity: 0;
+ -moz-transform: translate3d(0, -5%, 0);
+ }
+}
+
/* slide fade */
.slidefade.out {