mirror of https://github.com/twbs/ratchet.git
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.
29 lines
765 B
29 lines
765 B
11 years ago
|
/* Push styles (to be used with push.js)
|
||
|
-------------------------------------------------- */
|
||
|
|
||
|
/* Fade animation */
|
||
|
.content.fade {
|
||
|
left: 0;
|
||
|
opacity: 0;
|
||
|
-webkit-transition: opacity .2s ease-in-out;
|
||
|
transition: opacity .2s ease-in-out;
|
||
|
}
|
||
|
.content.fade.in {
|
||
|
opacity: 1;
|
||
|
}
|
||
|
|
||
|
/* Slide animation */
|
||
|
.content.slide {
|
||
|
-webkit-transform: translate3d(0, 0, 0);
|
||
|
transform: translate3d(0, 0, 0);
|
||
|
-webkit-transition: -webkit-transform .25s ease-in-out;
|
||
|
transition: transform .25s ease-in-out;
|
||
|
}
|
||
|
.content.slide.left {
|
||
|
-webkit-transform: translate3d(-100%, 0, 0);
|
||
|
transform: translate3d(-100%, 0, 0);
|
||
|
}
|
||
|
.content.slide.right {
|
||
|
-webkit-transform: translate3d(100%, 0, 0);
|
||
|
transform: translate3d(100%, 0, 0);
|
||
|
}
|