Build mobile apps with simple HTML, CSS, and JS components. http://goratchet.com/
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.

33 lines
543 B

//
// Push styles (to be used with push.js)
// --------------------------------------------------
.content {
// Fade animation
&.fade {
left: 0;
opacity: 0;
&.in {
opacity: 1;
}
}
// Slide animation
&.slide {
z-index: 2;
@include transition(-webkit-transform .4s);
@include transform(translate3d(0, 0, 0));
&.left {
z-index: 1;
@include transform(translate3d(100%, 0, 0));
}
&.right {
z-index: 3;
@include transform(translate3d(100%, 0, 0));
}
}
}