After 2 seconds the first fragment will be shown.
After 10 seconds the next fragment will be shown.
Now, the fragment is displayed for 2 seconds before the next slide is shown.
All CSS color formats are supported, like rgba() or hsl().
This slide will have a full-size background image.
This background image will be sized to 100px and repeated.
Video. Multiple sources can be defined using a comma separated list. Video will loop when the data-background-video-loop attribute is provided.
Embeds a web page as a background. Note that the page won't be interactive.
This slide will override the presentation transition and zoom!
``` You can also use different in and out transitions for the same slide: ```html
Choose from three transition speeds: default, fast or slow!
The train goes on … and on … and stops. (Passengers entering and leaving) And it starts again.``` Note that this does not work with the page and cube transitions. ### Internal links It's easy to link between slides. The first example below targets the index of another slide whereas the second targets a slide with an ID attribute (``` ```): ```html Link Link ``` You can also add relative navigation links, similar to the built in reveal.js controls, by appending one of the following classes on any element. Note that each element is automatically given an ```enabled``` class when it's a valid navigation route based on the current slide. ```html ``` ### Fragments Fragments are used to highlight individual elements on a slide. Every element with the class ```fragment``` will be stepped through before moving on to the next slide. Here's an example: http://lab.hakim.se/reveal-js/#/fragments The default fragment style is to start out invisible and fade in. This style can be changed by appending a different class to the fragment: ```html ``` Multiple fragments can be applied to the same element sequentially by wrapping it, this will fade in the text on the first step and fade it back out on the second. ```html
visible only once
blue only once
(def lazy-fib (concat [0 1] ((fn rfib [a b] (lazy-cons (+ a b) (rfib b (+ a b)))) 0 1)))