support for fading in unmatched auto-animate elements
This commit is contained in:
@ -1226,6 +1226,15 @@ body {
|
||||
.reveal[data-transition-speed="slow"] > .backgrounds .slide-background {
|
||||
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
|
||||
*********************************************/
|
||||
|
@ -1310,6 +1310,18 @@ $controlsArrowAngleActive: 36deg;
|
||||
}
|
||||
|
||||
|
||||
/*********************************************
|
||||
* 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
|
||||
*********************************************/
|
||||
|
Reference in New Issue
Block a user