浏览代码

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;
 }