christophe dervieux | 6567a70 | 2021-09-21 15:43:19 +0200 | [diff] [blame] | 1 | --- |
| 2 | title: "Incremental using attributes" |
| 3 | output: |
| 4 | revealjs::revealjs_presentation: |
| 5 | incremental: false |
| 6 | --- |
| 7 | |
| 8 | # Equivalent to using fenced div |
| 9 | |
| 10 | Content before fade |
| 11 | |
| 12 | ::: fragment |
| 13 | content after the pause |
| 14 | ::: |
| 15 | |
| 16 | ::: fragment |
| 17 | content after the pause |
| 18 | ::: |
| 19 | |
| 20 | # attributes can be added on divs |
| 21 | |
| 22 | ::: fragment |
| 23 | Fade in |
| 24 | ::: |
| 25 | |
| 26 | ::: {.fragment .fade-out} |
| 27 | Fade out |
| 28 | ::: |
| 29 | |
| 30 | ::: {.fragment .highlight-red} |
| 31 | Highlight red |
| 32 | ::: |
| 33 | |
| 34 | ::: {.fragment .current-visible} |
| 35 | Fade in, then out |
| 36 | ::: |
| 37 | |
| 38 | # Working on spans too |
| 39 | |
| 40 | [Fade in]{.fragment} |
| 41 | |
| 42 | [Fade out]{.fragment .fade-out} |
| 43 | |
| 44 | [Highlight red]{.fragment .highlight-red} |
| 45 | |
| 46 | [Fade in, then out]{.fragment .current-visible} |