From 86216ac645d8bb696d090a90d5280dd8f963a44a Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Sun, 15 Sep 2013 17:45:27 -0400 Subject: use 'url()'-free path when specifying parallax image, refactor so that parallax is applied to background class, remove unused attributes #595 --- css/reveal.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'css/reveal.css') diff --git a/css/reveal.css b/css/reveal.css index 362233c..53bd2ba 100644 --- a/css/reveal.css +++ b/css/reveal.css @@ -1406,7 +1406,7 @@ body { * PARALLAX BACKGROUND *********************************************/ -.reveal[data-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; @@ -1414,13 +1414,13 @@ body { } /* Global transition speed settings */ -.reveal[data-parallax-background][data-transition-speed="fast"] { +.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[data-parallax-background][data-transition-speed="slow"] { +.reveal.has-parallax-background[data-transition-speed="slow"] .backgrounds { -webkit-transition-duration: 1200ms; -moz-transition-duration: 1200ms; -ms-transition-duration: 1200ms; -- cgit v1.2.3