Browse Source

refining the transition timing

pull/214/head
connors 11 years ago
parent
commit
a3ea9d660e
  1. 4
      dist/ratchet.css
  2. 2
      lib/sass/push.scss

4
dist/ratchet.css vendored

@ -947,11 +947,11 @@ button.button-block {
opacity: 1; }
.content.slide {
-webkit-transition-timing-function: cubic-bezier(0.1, 0.7, 0.1, 1);
-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; }
transition: transform .25s ease-in-out;
-webkit-transition-timing-function: cubic-bezier(0.1, 0.7, 0.1, 1); }
.content.slide.left {
-webkit-transform: translate3d(-100%, 0, 0);

2
lib/sass/push.scss

@ -13,11 +13,11 @@
}
// Slide animation iOS7
.content.slide {
-webkit-transition-timing-function: cubic-bezier(.1, .7, .1, 1); //Thanks to @c2prods
-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;
-webkit-transition-timing-function: cubic-bezier(.1, .7, .1, 1); //Thanks to @c2prods
}
.content.slide.left {
-webkit-transform: translate3d(-100%, 0, 0);

Loading…
Cancel
Save