remove need for dedicated data-auto-animate-unmatched attribute
This commit is contained in:
parent
4ff7fd3a71
commit
4eca625330
3 changed files with 8 additions and 12 deletions
|
@ -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; }
|
||||
|
||||
/*********************************************
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue