Переглянути джерело

add helper class for disabling all slide transitions

Hakim El Hattab 5 роки тому
батько
коміт
e45626d6bd
2 змінених файлів з 4 додано та 2 видалено
  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;
 }