1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-08-22 14:22:53 +02:00

lazy load all slide backgrounds

This commit is contained in:
Hakim El Hattab
2014-04-27 15:39:11 +02:00
parent 0140a15bae
commit 7158c12eff
3 changed files with 25 additions and 0 deletions

View File

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