From bbfdb3b66e081670f06fec1f6d6838d4591cdb61 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Wed, 25 Mar 2015 19:17:09 +0100 Subject: [PATCH] reset fragment transforms using 'none' --- css/reveal.css | 11 ++++++----- css/reveal.scss | 4 ++-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/css/reveal.css b/css/reveal.css index 15696d3d..841455c4 100644 --- a/css/reveal.css +++ b/css/reveal.css @@ -66,16 +66,17 @@ body { -ms-transform: scale(0.1); transform: scale(0.1); } .reveal .slides section .fragment.zoom-in.visible { - -webkit-transform: scale(1); - -ms-transform: scale(1); - transform: scale(1); } + -webkit-transform: none; + -ms-transform: none; + transform: none; } .reveal .slides section .fragment.roll-in { -webkit-transform: rotateX(90deg); transform: rotateX(90deg); } .reveal .slides section .fragment.roll-in.visible { - -webkit-transform: rotateX(0); - transform: rotateX(0); } + -webkit-transform: none; + -ms-transform: none; + transform: none; } .reveal .slides section .fragment.fade-out { opacity: 1; diff --git a/css/reveal.scss b/css/reveal.scss index f0d269fc..7f9c993f 100644 --- a/css/reveal.scss +++ b/css/reveal.scss @@ -95,7 +95,7 @@ body { transform: scale( 0.1 ); &.visible { - transform: scale( 1 ); + transform: none; } } @@ -103,7 +103,7 @@ body { transform: rotateX( 90deg ); &.visible { - transform: rotateX( 0 ); + transform: none; } }