From ff35847fc644253a19f4fcc43b05d4afb5960bcc Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Tue, 4 Jun 2013 21:29:32 +0200 Subject: [PATCH] update example deck to use slide backgrounds (#453) --- index.html | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/index.html b/index.html index 3670474..982cfec 100644 --- a/index.html +++ b/index.html @@ -183,25 +183,34 @@
-
-

Global State

+

Global State

+

+ Set data-state="something" on a slide and "something" + 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. +

+
+ +
+
+

Slide Backgrounds

- Set data-state="something" on a slide and "something" - 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. + Set data-background="#007777" on a slide to change the full page background to the given color. All CSS color formats are supported.

Down arrow
-
-

"blackout"

+
+

Image Backgrounds

+
<section data-background="image.png">
Down arrow
-
-

"soothe"

+
+

Repeated Image Backgrounds

+
<section data-background="image.png" data-background-repeat="repeat" data-background-size="100px">
Up arrow