From e45626d6bde97735516b6d31bff08172126df7d3 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Sat, 8 Feb 2020 20:41:49 +0100 Subject: [PATCH] add helper class for disabling all slide transitions --- css/reveal.css | 3 ++- css/reveal.scss | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/css/reveal.css b/css/reveal.css index c1f1d337..a98a7526 100644 --- a/css/reveal.css +++ b/css/reveal.css @@ -1041,7 +1041,8 @@ body { transform: none; } .reveal .no-transition, -.reveal .no-transition * { +.reveal .no-transition *, +.reveal .slides.disable-slide-transitions section { transition: none !important; } /********************************************* diff --git a/css/reveal.scss b/css/reveal.scss index 7b91d7fd..335b96be 100644 --- a/css/reveal.scss +++ b/css/reveal.scss @@ -1118,7 +1118,8 @@ $controlsArrowAngleActive: 36deg; } .reveal .no-transition, -.reveal .no-transition * { +.reveal .no-transition *, +.reveal .slides.disable-slide-transitions section { transition: none !important; }