diff options
author | hakimel | 2013-01-18 15:26:48 -0500 |
---|---|---|
committer | hakimel | 2013-01-18 15:26:48 -0500 |
commit | 6a7d0cbcc930c4180e99fc3f1f8f2513ea9433d7 (patch) | |
tree | 50f5c1f0e5c41074accb9508add8dddbb72abc71 /css/reveal.css | |
parent | cd40e9e575683ac75cce8ba48cef45a97a3dd532 (diff) | |
parent | 082e4ed1686747d9472c4448dc4387084f6238e2 (diff) |
Merge branch 'fade-transition' of https://github.com/joelrbrandt/reveal.js
Diffstat (limited to 'css/reveal.css')
-rw-r--r-- | css/reveal.css | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/css/reveal.css b/css/reveal.css index 1e7ab65..0680fa5 100644 --- a/css/reveal.css +++ b/css/reveal.css @@ -1046,6 +1046,36 @@ body { ); } +/********************************************* + * FADE TRANSITION + *********************************************/ + +.reveal.fade .slides section, +.reveal.fade .slides>section>section { + -webkit-transform: none; + -moz-transform: none; + -ms-transform: none; + -o-transform: none; + transform: none; + + -webkit-transition: opacity 0.5s; + -moz-transition: opacity 0.5s; + -ms-transition: opacity 0.5s; + -o-transition: opacity 0.5s; + transition: opacity 0.5s; +} + + +.reveal.fade.overview .slides section, +.reveal.fade.overview .slides>section>section, +.reveal.fade.exit-overview .slides section, +.reveal.fade.exit-overview .slides>section>section { + -webkit-transition: none; + -moz-transition: none; + -ms-transition: none; + -o-transition: none; + transition: none; +} /********************************************* * NO TRANSITION |