diff options
author | Hakim El Hattab | 2013-11-09 11:41:15 -0500 |
---|---|---|
committer | Hakim El Hattab | 2013-11-09 11:41:15 -0500 |
commit | c4d7b1b93fb06d152fe44d4a5ae42bfa0257e4ea (patch) | |
tree | 39965a26b52db11cce8e4f125281d554bfb0bfbc /css/reveal.css | |
parent | f31644cca87bba753e0202f15d166b7ee2074a21 (diff) |
make background transition default to exact same speed as normal transitions
Diffstat (limited to 'css/reveal.css')
-rw-r--r-- | css/reveal.css | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/css/reveal.css b/css/reveal.css index 542e5dc..534724a 100644 --- a/css/reveal.css +++ b/css/reveal.css @@ -1295,11 +1295,11 @@ body { background-repeat: no-repeat; background-size: cover; - -webkit-transition: all 600ms cubic-bezier(0.260, 0.860, 0.440, 0.985); - -moz-transition: all 600ms cubic-bezier(0.260, 0.860, 0.440, 0.985); - -ms-transition: all 600ms cubic-bezier(0.260, 0.860, 0.440, 0.985); - -o-transition: all 600ms cubic-bezier(0.260, 0.860, 0.440, 0.985); - transition: all 600ms cubic-bezier(0.260, 0.860, 0.440, 0.985); + -webkit-transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985); + -moz-transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985); + -ms-transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985); + -o-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.present { opacity: 1; @@ -1330,12 +1330,6 @@ body { -moz-backface-visibility: hidden; -ms-backface-visibility: hidden; backface-visibility: hidden; - - -webkit-transition-duration: 800ms; - -moz-transition-duration: 800ms; - -ms-transition-duration: 800ms; - -o-transition-duration: 800ms; - transition-duration: 800ms; } .reveal[data-background-transition=slide]>.backgrounds .slide-background.past, .reveal>.backgrounds .slide-background.past[data-background-transition=slide] { |