瀏覽代碼

fix concave/convex transitions on vertical slides #1947

Hakim El Hattab 6 年之前
父節點
當前提交
b6ce0a9724
共有 2 個文件被更改,包括 3 次插入2 次删除
  1. 2 1
      css/reveal.css
  2. 1 1
      css/reveal.scss

+ 2 - 1
css/reveal.css

@@ -486,7 +486,8 @@ body {
           perspective-origin: 50% 40%; }
 
 .reveal .slides > section {
-  -ms-perspective: 600px; }
+  -webkit-perspective: 600px;
+          perspective: 600px; }
 
 .reveal .slides > section,
 .reveal .slides > section > section {

+ 1 - 1
css/reveal.scss

@@ -588,7 +588,7 @@ $controlsArrowAngleActive: 36deg;
 }
 
 .reveal .slides>section {
-	-ms-perspective: 600px;
+	perspective: 600px;
 }
 
 .reveal .slides>section,