diff options
author | David Thompson <dthompson2@worcester.edu> | 2024-06-24 13:49:08 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2024-06-24 13:52:17 -0400 |
commit | d283f7e661e14d6ae1881fe803e5b4f1ed0689ff (patch) | |
tree | 84d3811c6dcb7d7f02aecadad7b2dfacce83bd4f /2024-06-18-guix-social/reveal.js/examples/backgrounds.html | |
parent | 3d9dcd3099fb252fa35697148fbbd541eb9eecc9 (diff) |
Diffstat (limited to '2024-06-18-guix-social/reveal.js/examples/backgrounds.html')
-rw-r--r-- | 2024-06-18-guix-social/reveal.js/examples/backgrounds.html | 141 |
1 files changed, 141 insertions, 0 deletions
diff --git a/2024-06-18-guix-social/reveal.js/examples/backgrounds.html b/2024-06-18-guix-social/reveal.js/examples/backgrounds.html new file mode 100644 index 0000000..19d40c3 --- /dev/null +++ b/2024-06-18-guix-social/reveal.js/examples/backgrounds.html @@ -0,0 +1,141 @@ +<!doctype html> +<html lang="en"> + + <head> + <meta charset="utf-8"> + + <title>reveal.js - Slide Backgrounds</title> + + <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> + + <link rel="stylesheet" href="../dist/reveal.css"> + <link rel="stylesheet" href="../dist/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> + + <div class="reveal"> + + <div class="slides"> + + <section data-background="#00ffff"> + <h2>data-background: #00ffff</h2> + </section> + + <section data-background="#bb00bb"> + <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> + </section> + <section data-background="rgba(0, 0, 0, 0.2)"> + <h2>data-background: rgba(0, 0, 0, 0.2)</h2> + </section> + <section data-background="salmon"> + <h2>data-background: salmon</h2> + </section> + </section> + + <section data-background="rgba(0, 100, 100, 0.2)"> + <section> + <h2>Background applied to stack</h2> + </section> + <section> + <h2>Background applied to stack</h2> + </section> + <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"> + <h2>Background image</h2> + </section> + + <section> + <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"> + <h2>Background image</h2> + </section> + </section> + + <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> + + <section data-background="#888888"> + <h2>Same background twice (1/2)</h2> + </section> + <section data-background="#888888"> + <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/news/make-better-presentations/embed?style=hidden&autoSlide=4000"> + <h2>Iframe background</h2> + </section> + + <section> + <section data-background="#417203"> + <h2>Same background twice vertical (1/2)</h2> + </section> + <section data-background="#417203"> + <h2>Same background twice vertical (2/2)</h2> + </section> + </section> + + <section data-background="#934f4d"> + <h2>Same background from horizontal to vertical (1/3)</h2> + </section> + <section> + <section data-background="#934f4d"> + <h2>Same background from horizontal to vertical (2/3)</h2> + </section> + <section data-background="#934f4d"> + <h2>Same background from horizontal to vertical (3/3)</h2> + </section> + </section> + + </div> + + </div> + + <script src="../dist/reveal.js"></script> + <script> + + // Full list of configuration options: + // https://revealjs.revealjs.com/config/ + Reveal.initialize({ + center: true, + + transition: 'linear', + // transitionSpeed: 'slow', + // backgroundTransition: 'slide' + }); + + </script> + + </body> +</html> |