Browse Source

firefox support for #1088

Hakim El Hattab 10 years ago
parent
commit
66d7b6bfae
2 changed files with 9 additions and 3 deletions
  1. 5 1
      css/reveal.css
  2. 4 2
      css/reveal.scss

+ 5 - 1
css/reveal.css

@@ -669,6 +669,10 @@ body {
   background: none;
   overflow: visible; }
 
+.reveal.overview .backgrounds {
+  -webkit-perspective: inherit;
+          perspective: inherit; }
+
 .reveal.overview .backgrounds .slide-background {
   opacity: 1;
   visibility: visible; }
@@ -738,7 +742,7 @@ body {
 /*********************************************
  * PER-SLIDE BACKGROUNDS
  *********************************************/
-.reveal > .backgrounds {
+.reveal .backgrounds {
   position: absolute;
   width: 100%;
   height: 100%;

+ 4 - 2
css/reveal.scss

@@ -785,7 +785,9 @@ body {
 	overflow: visible;
 }
 
-
+.reveal.overview .backgrounds {
+	perspective: inherit;
+}
 .reveal.overview .backgrounds .slide-background {
 	opacity: 1;
 	visibility: visible;
@@ -867,7 +869,7 @@ body {
  * PER-SLIDE BACKGROUNDS
  *********************************************/
 
-.reveal>.backgrounds {
+.reveal .backgrounds {
 	position: absolute;
 	width: 100%;
 	height: 100%;