blob: d9ff6401c99715a37a1e7f703a7e13b1d62ad2a6 [file] [log] [blame]
christophe dervieux6567a702021-09-21 15:43:19 +02001---
2title: "Incremental using attributes"
3output:
4 revealjs::revealjs_presentation:
5 incremental: false
6---
7
8# Equivalent to using fenced div
9
10Content before fade
11
12::: fragment
13content after the pause
14:::
15
16::: fragment
17content after the pause
18:::
19
20# attributes can be added on divs
21
22::: fragment
23Fade in
24:::
25
26::: {.fragment .fade-out}
27Fade out
28:::
29
30::: {.fragment .highlight-red}
31Highlight red
32:::
33
34::: {.fragment .current-visible}
35Fade 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}