Kaynağa Gözat

add helper class for disabling all slide transitions

Hakim El Hattab 5 yıl önce
ebeveyn
işleme
e45626d6bd
2 değiştirilmiş dosya ile 4 ekleme ve 2 silme
  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;
 }