aboutsummaryrefslogtreecommitdiff
path: root/css/reveal.css
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2020-02-12 14:05:23 +0100
committerHakim El Hattab <hakim.elhattab@gmail.com>2020-02-12 14:05:23 +0100
commit15e6994569835d1e00083c57aa4decb9521e8857 (patch)
treee006e86205ac85311ab608df715a3a90cce37a23 /css/reveal.css
parent3cf08624dd4c60e51c40f97396c653cdae0185cb (diff)
downloadfosdem-2021-minimalism-presentation-15e6994569835d1e00083c57aa4decb9521e8857.tar
fosdem-2021-minimalism-presentation-15e6994569835d1e00083c57aa4decb9521e8857.tar.gz
support for fading in unmatched auto-animate elements
Diffstat (limited to 'css/reveal.css')
-rw-r--r--css/reveal.css9
1 files changed, 9 insertions, 0 deletions
diff --git a/css/reveal.css b/css/reveal.css
index a98a752..2d19d61 100644
--- a/css/reveal.css
+++ b/css/reveal.css
@@ -1227,6 +1227,15 @@ body {
transition-duration: 1200ms; }
/*********************************************
+ * AUTO ANIMATE
+ *********************************************/
+.reveal section[data-auto-animate] [data-auto-animate-unmatched="fade-in"] {
+ opacity: 0; }
+
+.reveal section[data-auto-animate="running"] [data-auto-animate-unmatched="fade-in"] {
+ opacity: 1; }
+
+/*********************************************
* OVERVIEW
*********************************************/
.reveal.overview {