From 7158c12effbce8a52c1a6385c1f9ee479c81c9fe Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Sun, 27 Apr 2014 15:39:11 +0200 Subject: lazy load all slide backgrounds --- css/reveal.css | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'css') 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; -- cgit v1.2.3