summaryrefslogtreecommitdiffhomepage
path: root/index.html
diff options
context:
space:
mode:
authorChris Lawrence2013-06-21 17:57:09 -0400
committerChris Lawrence2013-06-21 17:57:09 -0400
commit7b119763f82fab69fd43c49f4af39481dd556cab (patch)
tree3aa6b5bec29132c22afa552beb851c8f785daa16 /index.html
parent636a6661978d04791bc899be65d7c3fd23eea125 (diff)
parente51c0fc3ce3568eb325b87fe60ca7bdd07861150 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'index.html')
-rw-r--r--index.html64
1 files changed, 40 insertions, 24 deletions
diff --git a/index.html b/index.html
index 3670474..fab2780 100644
--- a/index.html
+++ b/index.html
@@ -36,7 +36,6 @@
<!-- Any section element inside of this container is displayed as a slide -->
<div class="slides">
-
<section>
<h1>Reveal.js</h1>
<h3>HTML Presentations Made Easy</h3>
@@ -183,29 +182,12 @@
</section>
<section>
- <section data-state="alert">
- <h2>Global State</h2>
- <p>
- Set <code>data-state="something"</code> on a slide and <code>"something"</code>
- will be added as a class to the document element when the slide is open. This lets you
- apply broader style changes, like switching the background.
- </p>
- <a href="#" class="image navigate-down">
- <img width="178" height="238" src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Down arrow">
- </a>
- </section>
- <section data-state="blackout">
- <h2>"blackout"</h2>
- <a href="#" class="image navigate-down">
- <img width="178" height="238" src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Down arrow">
- </a>
- </section>
- <section data-state="soothe">
- <h2>"soothe"</h2>
- <a href="#" class="image navigate-next">
- <img width="178" height="238" src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Up arrow" style="-webkit-transform: rotate(-90deg);">
- </a>
- </section>
+ <h2>Global State</h2>
+ <p>
+ Set <code>data-state="something"</code> on a slide and <code>"something"</code>
+ will be added as a class to the document element when the slide is open. This lets you
+ apply broader style changes, like switching the background.
+ </p>
</section>
<section data-state="customevent">
@@ -221,6 +203,40 @@ Reveal.addEventListener( 'customevent', function() {
</section>
<section>
+ <section data-background="#007777">
+ <h2>Slide Backgrounds</h2>
+ <p>
+ Set <code>data-background="#007777"</code> on a slide to change the full page background to the given color. All CSS color formats are supported.
+ </p>
+ <a href="#" class="image navigate-down">
+ <img width="178" height="238" src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Down arrow">
+ </a>
+ </section>
+ <section data-background="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png">
+ <h2>Image Backgrounds</h2>
+ <pre><code>&lt;section data-background="image.png"&gt;</code></pre>
+ </section>
+ <section data-background="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" data-background-repeat="repeat" data-background-size="100px">
+ <h2>Repeated Image Backgrounds</h2>
+ <pre><code style="word-wrap: break-word;">&lt;section data-background="image.png" data-background-repeat="repeat" data-background-size="100px"&gt;</code></pre>
+ </section>
+ </section>
+
+ <section data-transition="linear" data-background="#4d7e65" data-background-transition="slide">
+ <h2>Background Transitions</h2>
+ <p>
+ Pass reveal.js the <code>backgroundTransition: 'slide'</code> config argument to make backgrounds slide rather than fade.
+ </p>
+ </section>
+
+ <section data-transition="linear" data-background="#8c4738" data-background-transition="slide">
+ <h2>Background Transition Override</h2>
+ <p>
+ You can override background transitions per slide by using <code>data-background-transition="slide"</code>.
+ </p>
+ </section>
+
+ <section>
<h2>Clever Quotes</h2>
<p>
These guys come in two forms, inline: <q cite="http://searchservervirtualization.techtarget.com/definition/Our-Favorite-Technology-Quotations">