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