change transition easing for zooms

This commit is contained in:
Hakim El Hattab 2013-11-08 09:29:49 -05:00
parent 23bcd1eb1f
commit f31644cca8
3 changed files with 20 additions and 2 deletions

View File

@ -711,6 +711,15 @@ body {
* ZOOM TRANSITION * ZOOM TRANSITION
*********************************************/ *********************************************/
.reveal .slides>section[data-transition=zoom],
.reveal.zoom .slides>section {
-webkit-transition-timing-function: ease;
-moz-transition-timing-function: ease;
-ms-transition-timing-function: ease;
-o-transition-timing-function: ease;
transition-timing-function: ease;
}
.reveal .slides>section[data-transition=zoom].past, .reveal .slides>section[data-transition=zoom].past,
.reveal.zoom .slides>section.past { .reveal.zoom .slides>section.past {
opacity: 0; opacity: 0;
@ -1443,6 +1452,15 @@ body {
} }
/* Zoom */ /* Zoom */
.reveal[data-background-transition=zoom]>.backgrounds .slide-background,
.reveal>.backgrounds .slide-background[data-background-transition=zoom] {
-webkit-transition-timing-function: ease;
-moz-transition-timing-function: ease;
-ms-transition-timing-function: ease;
-o-transition-timing-function: ease;
transition-timing-function: ease;
}
.reveal[data-background-transition=zoom]>.backgrounds .slide-background.past, .reveal[data-background-transition=zoom]>.backgrounds .slide-background.past,
.reveal>.backgrounds .slide-background.past[data-background-transition=zoom] { .reveal>.backgrounds .slide-background.past[data-background-transition=zoom] {
opacity: 0; opacity: 0;

2
css/reveal.min.css vendored

File diff suppressed because one or more lines are too long

2
js/reveal.min.js vendored
View File

@ -1,5 +1,5 @@
/*! /*!
* reveal.js 2.6.0-dev (2013-11-07, 09:15) * reveal.js 2.6.0-dev (2013-11-08, 09:29)
* http://lab.hakim.se/reveal-js * http://lab.hakim.se/reveal-js
* MIT licensed * MIT licensed
* *