From e5ba80478daf053c2ded99cbf099085121b6e95d Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Thu, 6 Feb 2020 14:30:32 +0100 Subject: [PATCH] fix auto-animatie transform origin + refactoring --- css/reveal.css | 8 ---- js/reveal.js | 117 ++++++++++++++++++++++++++----------------------- 2 files changed, 63 insertions(+), 62 deletions(-) diff --git a/css/reveal.css b/css/reveal.css index e7c6b1c..0ca77e7 100644 --- a/css/reveal.css +++ b/css/reveal.css @@ -931,14 +931,6 @@ body { transform: none; transition: none; } -/********************************************* - * AUTO ANIMATE - *********************************************/ -.reveal section[data-auto-animate] .auto-animate-target { - transition-property: all; - -webkit-transform-origin: top left; - transform-origin: top left; } - /********************************************* * PAUSED MODE *********************************************/ diff --git a/js/reveal.js b/js/reveal.js index f651bdb..b31d530 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -394,6 +394,9 @@ //