mirror of
https://github.com/Noratrieb/slides.git
synced 2026-01-15 00:45:07 +01:00
refactored and improved auto-animate matcher, supports line-by-line code animations
This commit is contained in:
parent
345ec01f19
commit
e2a2c2c022
4 changed files with 179 additions and 39 deletions
|
|
@ -1233,6 +1233,9 @@ body {
|
|||
/*********************************************
|
||||
* AUTO ANIMATE
|
||||
*********************************************/
|
||||
.reveal [data-auto-animate-target="unmatched"] {
|
||||
will-change: opacity; }
|
||||
|
||||
.reveal section[data-auto-animate]:not(.stack):not([data-auto-animate="running"]) [data-auto-animate-target="unmatched"] {
|
||||
opacity: 0; }
|
||||
|
||||
|
|
@ -1515,6 +1518,12 @@ body {
|
|||
width: 100%;
|
||||
box-sizing: border-box; }
|
||||
|
||||
.reveal pre[data-auto-animate-target] {
|
||||
overflow: hidden; }
|
||||
|
||||
.reveal pre[data-auto-animate-target] code {
|
||||
height: 100%; }
|
||||
|
||||
/*********************************************
|
||||
* ROLLING LINKS
|
||||
*********************************************/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue