diff options
author | Hakim El Hattab | 2015-01-09 18:22:30 +0100 |
---|---|---|
committer | Hakim El Hattab | 2015-01-09 18:22:30 +0100 |
commit | 20d858deb888fe0ec0ba92a919c8a0526ac52a2e (patch) | |
tree | 9a953291ea1716afae558100907c81a3ec745d03 /test/examples/slide-backgrounds.html | |
parent | 57977e29239a1115ddfd673fc24f86080203f6d7 (diff) | |
parent | 3a8fc9b2742756be2274c8c74f77dbed84407d92 (diff) |
Merge pull request #1093 from hakimel/dev
3.0.0
Diffstat (limited to 'test/examples/slide-backgrounds.html')
-rw-r--r-- | test/examples/slide-backgrounds.html | 36 |
1 files changed, 29 insertions, 7 deletions
diff --git a/test/examples/slide-backgrounds.html b/test/examples/slide-backgrounds.html index 4f0fe62..4e5e406 100644 --- a/test/examples/slide-backgrounds.html +++ b/test/examples/slide-backgrounds.html @@ -8,8 +8,18 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> - <link rel="stylesheet" href="../../css/reveal.min.css"> + <link rel="stylesheet" href="../../css/reveal.css"> <link rel="stylesheet" href="../../css/theme/serif.css" id="theme"> + <style type="text/css" media="screen"> + .slides section.has-dark-background, + .slides section.has-dark-background h2 { + color: #fff; + } + .slides section.has-light-background, + .slides section.has-light-background h2 { + color: #222; + } + </style> </head> <body> @@ -26,6 +36,10 @@ <h2>data-background: #bb00bb</h2> </section> + <section data-background-color="lightblue"> + <h2>data-background: lightblue</h2> + </section> + <section> <section data-background="#ff0000"> <h2>data-background: #ff0000</h2> @@ -45,25 +59,25 @@ <section> <h2>Background applied to stack</h2> </section> - <section data-background="rgba(100, 0, 0, 0.2)"> + <section data-background="rgb(66, 66, 66)"> <h2>Background applied to slide inside of stack</h2> </section> </section> - <section data-background-transition="slide" data-background="assets/image1.png" style="background: rgba(255,255,255,0.9)"> + <section data-background-transition="slide" data-background="assets/image1.png"> <h2>Background image</h2> </section> <section> - <section data-background-transition="slide" data-background="assets/image1.png" style="background: rgba(255,255,255,0.9)"> + <section data-background-transition="slide" data-background="assets/image1.png"> <h2>Background image</h2> </section> - <section data-background-transition="slide" data-background="assets/image1.png" style="background: rgba(255,255,255,0.9)"> + <section data-background-transition="slide" data-background="assets/image1.png"> <h2>Background image</h2> </section> </section> - <section data-background="assets/image2.png" data-background-size="100px" data-background-repeat="repeat" data-background-color="#111" style="background: rgba(255,255,255,0.9)"> + <section data-background="assets/image2.png" data-background-size="100px" data-background-repeat="repeat" data-background-color="#111"> <h2>Background image</h2> <pre>data-background-size="100px" data-background-repeat="repeat" data-background-color="#111"</pre> </section> @@ -75,6 +89,14 @@ <h2>Same background twice (2/2)</h2> </section> + <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"> + <h2>Video background</h2> + </section> + + <section data-background-iframe="https://slides.com"> + <h2>Iframe background</h2> + </section> + <section> <section data-background="#417203"> <h2>Same background twice vertical (1/2)</h2> @@ -101,7 +123,7 @@ </div> <script src="../../lib/js/head.min.js"></script> - <script src="../../js/reveal.min.js"></script> + <script src="../../js/reveal.js"></script> <script> |