Explorar el Código

add helper class for disabling all slide transitions

Hakim El Hattab hace 5 años
padre
commit
e45626d6bd
Se han modificado 2 ficheros con 4 adiciones y 2 borrados
  1. 2 1
      css/reveal.css
  2. 2 1
      css/reveal.scss

+ 2 - 1
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; }
 
 /*********************************************

+ 2 - 1
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;
 }