aboutsummaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2014-04-27 15:39:11 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2014-04-27 15:39:11 +0200
commit7158c12effbce8a52c1a6385c1f9ee479c81c9fe (patch)
treea739de4cffb3b172f6d64257a8544eeb7395bda0 /css
parent0140a15bae7cd1c295bf6d64157fed3eaf065c0a (diff)
downloadperl-software-in-gnu-guix-7158c12effbce8a52c1a6385c1f9ee479c81c9fe.tar
perl-software-in-gnu-guix-7158c12effbce8a52c1a6385c1f9ee479c81c9fe.tar.gz
lazy load all slide backgrounds
Diffstat (limited to 'css')
-rw-r--r--css/reveal.css6
1 files changed, 6 insertions, 0 deletions
diff --git a/css/reveal.css b/css/reveal.css
index 6a8cd4a..d10ff49 100644
--- a/css/reveal.css
+++ b/css/reveal.css
@@ -1337,6 +1337,7 @@ body {
perspective: 600px;
}
.reveal .slide-background {
+ display: none;
position: absolute;
width: 100%;
height: 100%;
@@ -1352,6 +1353,11 @@ body {
-moz-transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
}
+
+ .reveal .slide-background.stack {
+ display: block;
+ }
+
.reveal .slide-background.present {
opacity: 1;
visibility: visible;