diff options
Diffstat (limited to 'css/reveal.css')
-rw-r--r-- | css/reveal.css | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/css/reveal.css b/css/reveal.css index 02ec810..1ebf81d 100644 --- a/css/reveal.css +++ b/css/reveal.css @@ -1403,6 +1403,31 @@ body { float: right } +/********************************************* + * PARALLAX BACKGROUND + *********************************************/ + +.reveal.has-parallax-background .backgrounds { + -webkit-transition: all 0.8s ease; + -moz-transition: all 0.8s ease; + -ms-transition: all 0.8s ease; + transition: all 0.8s ease; +} + +/* Global transition speed settings */ +.reveal.has-parallax-background[data-transition-speed="fast"] .backgrounds { + -webkit-transition-duration: 400ms; + -moz-transition-duration: 400ms; + -ms-transition-duration: 400ms; + transition-duration: 400ms; +} +.reveal.has-parallax-background[data-transition-speed="slow"] .backgrounds { + -webkit-transition-duration: 1200ms; + -moz-transition-duration: 1200ms; + -ms-transition-duration: 1200ms; + transition-duration: 1200ms; +} + /********************************************* * LINK PREVIEW OVERLAY |