remove need for dedicated data-auto-animate-unmatched attribute

This commit is contained in:
Hakim El Hattab committed 2020-02-18 20:23:37 +01:00
1 parent 4ff7fd3a71
commit 4eca625330
3 files changed
+8 -12

No files matched your search

+2 -2
View File
@@ -1318,10 +1318,10 @@ $controlsArrowAngleActive: 36deg;
* AUTO ANIMATE
*********************************************/
.reveal section[data-auto-animate] [data-auto-animate-unmatched="fade-in"] {
.reveal section[data-auto-animate] [data-auto-animate-target="unmatched"] {
opacity: 0;
}
.reveal section[data-auto-animate="running"] [data-auto-animate-unmatched="fade-in"] {
.reveal section[data-auto-animate="running"] [data-auto-animate-target="unmatched"] {
opacity: 1;
}