7 <title>reveal.js - Slide Backgrounds</title>
9 <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
11 <link rel="stylesheet" href="../../css/reveal.css">
12 <link rel="stylesheet" href="../../css/theme/serif.css" id="theme">
13 <style type="text/css" media="screen">
14 .slides section.has-dark-background,
15 .slides section.has-dark-background h2 {
18 .slides section.has-light-background,
19 .slides section.has-light-background h2 {
31 <section data-background="#00ffff">
32 <h2>data-background: #00ffff</h2>
35 <section data-background="#bb00bb">
36 <h2>data-background: #bb00bb</h2>
39 <section data-background-color="lightblue">
40 <h2>data-background: lightblue</h2>
44 <section data-background="#ff0000">
45 <h2>data-background: #ff0000</h2>
47 <section data-background="rgba(0, 0, 0, 0.2)">
48 <h2>data-background: rgba(0, 0, 0, 0.2)</h2>
50 <section data-background="salmon">
51 <h2>data-background: salmon</h2>
55 <section data-background="rgba(0, 100, 100, 0.2)">
57 <h2>Background applied to stack</h2>
60 <h2>Background applied to stack</h2>
62 <section data-background="rgb(66, 66, 66)">
63 <h2>Background applied to slide inside of stack</h2>
67 <section data-background-transition="slide" data-background="assets/image1.png">
68 <h2>Background image</h2>
72 <section data-background-transition="slide" data-background="assets/image1.png">
73 <h2>Background image</h2>
75 <section data-background-transition="slide" data-background="assets/image1.png">
76 <h2>Background image</h2>
80 <section data-background="assets/image2.png" data-background-size="100px" data-background-repeat="repeat" data-background-color="#111">
81 <h2>Background image</h2>
82 <pre>data-background-size="100px" data-background-repeat="repeat" data-background-color="#111"</pre>
85 <section data-background="#888888">
86 <h2>Same background twice (1/2)</h2>
88 <section data-background="#888888">
89 <h2>Same background twice (2/2)</h2>
92 <section data-background-video="https://s3.amazonaws.com/static.slid.es/site/homepage/v1/homepage-video-editor.mp4,https://s3.amazonaws.com/static.slid.es/site/homepage/v1/homepage-video-editor.webm">
93 <h2>Video background</h2>
96 <section data-background-iframe="https://slides.com">
97 <h2>Iframe background</h2>
101 <section data-background="#417203">
102 <h2>Same background twice vertical (1/2)</h2>
104 <section data-background="#417203">
105 <h2>Same background twice vertical (2/2)</h2>
109 <section data-background="#934f4d">
110 <h2>Same background from horizontal to vertical (1/3)</h2>
113 <section data-background="#934f4d">
114 <h2>Same background from horizontal to vertical (2/3)</h2>
116 <section data-background="#934f4d">
117 <h2>Same background from horizontal to vertical (3/3)</h2>
125 <script src="../../lib/js/head.min.js"></script>
126 <script src="../../js/reveal.js"></script>
130 // Full list of configuration options available here:
131 // https://github.com/hakimel/reveal.js#configuration
136 transition: 'linear',
137 // transitionSpeed: 'slow',
138 // backgroundTransition: 'slide'