initial work for auto-animate

This commit is contained in:
Hakim El Hattab
2020-01-31 10:46:28 +01:00
parent 0dbdd89713
commit 8d89db32f6
4 changed files with 247 additions and 1 deletions

View File

@ -931,6 +931,17 @@ body {
transform: none;
transition: none; }
/*********************************************
* AUTO ANIMATE
*********************************************/
.reveal section[data-auto-animate] {
transition: none; }
.reveal section[data-auto-animate] .auto-animate-target {
transition: all 0.7s ease;
-webkit-transform-origin: top left;
transform-origin: top left; }
/*********************************************
* PAUSED MODE
*********************************************/

View File

@ -990,6 +990,21 @@ $controlsArrowAngleActive: 36deg;
}
/*********************************************
* AUTO ANIMATE
*********************************************/
.reveal section[data-auto-animate] {
transition: none;
}
.reveal section[data-auto-animate] .auto-animate-target {
transition: all 0.7s ease;
transform-origin: top left;
}
/*********************************************
* PAUSED MODE
*********************************************/