From a3ea9d660e4c7b423208e95650a48a28a8bd1d7c Mon Sep 17 00:00:00 2001 From: connors Date: Sat, 14 Sep 2013 11:17:22 -0700 Subject: [PATCH] refining the transition timing --- dist/ratchet.css | 4 ++-- lib/sass/push.scss | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/ratchet.css b/dist/ratchet.css index 5e0dc68..e2de9a3 100644 --- a/dist/ratchet.css +++ b/dist/ratchet.css @@ -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); diff --git a/lib/sass/push.scss b/lib/sass/push.scss index 826418e..d35793c 100644 --- a/lib/sass/push.scss +++ b/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);