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

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

View File

@ -1233,10 +1233,10 @@ body {
/*********************************************
* 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; }
/*********************************************

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;
}