summaryrefslogtreecommitdiffhomepage
path: root/css/reveal.css
diff options
context:
space:
mode:
authorHakim El Hattab2013-09-15 14:44:45 -0400
committerHakim El Hattab2013-09-15 14:44:45 -0400
commit2fc0dfa8e189a924a0ea77780e13537a02ff4e01 (patch)
tree5eac71dd0553d117c855b8da7522d6d9dc337c3e /css/reveal.css
parent1fb85d4df6a5b5b971d3a1beaff2a659bab72470 (diff)
parent2bd228534b9e667ec465131ff35b09e0b41fe890 (diff)
merge parallax into dev, remove default image #595
Diffstat (limited to 'css/reveal.css')
-rw-r--r--css/reveal.css24
1 files changed, 24 insertions, 0 deletions
diff --git a/css/reveal.css b/css/reveal.css
index a9b3888..0b9d2e9 100644
--- a/css/reveal.css
+++ b/css/reveal.css
@@ -1402,6 +1402,30 @@ body {
float: right
}
+/*********************************************
+ * PARALLAX BACKGROUND
+ *********************************************/
+.reveal[data-parallax-background] {
+ -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[data-parallax-background][data-transition-speed="fast"] {
+ -webkit-transition-duration: 400ms;
+ -moz-transition-duration: 400ms;
+ -ms-transition-duration: 400ms;
+ transition-duration: 400ms;
+}
+.reveal[data-parallax-background][data-transition-speed="slow"] {
+ -webkit-transition-duration: 1200ms;
+ -moz-transition-duration: 1200ms;
+ -ms-transition-duration: 1200ms;
+ transition-duration: 1200ms;
+}
+
/*********************************************
* LINK PREVIEW OVERLAY