2013-06-04 19:42:56 +02:00
|
|
|
<!doctype html>
|
|
|
|
<html lang="en">
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
2013-06-30 03:48:56 +02:00
|
|
|
<title>reveal.js - Slide Backgrounds</title>
|
2013-06-04 19:42:56 +02:00
|
|
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
|
|
|
2020-04-16 16:04:26 +02:00
|
|
|
<link rel="stylesheet" href="../dist/reveal.css">
|
|
|
|
<link rel="stylesheet" href="../dist/theme/serif.css" id="theme">
|
2014-09-09 17:18:15 +02:00
|
|
|
<style type="text/css" media="screen">
|
2014-09-10 10:12:25 +02:00
|
|
|
.slides section.has-dark-background,
|
|
|
|
.slides section.has-dark-background h2 {
|
2014-09-09 17:18:15 +02:00
|
|
|
color: #fff;
|
|
|
|
}
|
2014-09-09 17:33:52 +02:00
|
|
|
.slides section.has-light-background,
|
|
|
|
.slides section.has-light-background h2 {
|
2014-09-09 17:18:15 +02:00
|
|
|
color: #222;
|
|
|
|
}
|
|
|
|
</style>
|
2013-06-04 19:42:56 +02:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<div class="reveal">
|
|
|
|
|
|
|
|
<div class="slides">
|
|
|
|
|
|
|
|
<section data-background="#00ffff">
|
2013-06-04 20:15:19 +02:00
|
|
|
<h2>data-background: #00ffff</h2>
|
2013-06-04 19:42:56 +02:00
|
|
|
</section>
|
|
|
|
|
2013-06-04 20:15:19 +02:00
|
|
|
<section data-background="#bb00bb">
|
|
|
|
<h2>data-background: #bb00bb</h2>
|
2013-06-04 19:42:56 +02:00
|
|
|
</section>
|
|
|
|
|
2014-09-09 17:18:15 +02:00
|
|
|
<section data-background-color="lightblue">
|
2014-09-09 17:21:29 +02:00
|
|
|
<h2>data-background: lightblue</h2>
|
2014-09-09 17:18:15 +02:00
|
|
|
</section>
|
|
|
|
|
2013-06-04 19:42:56 +02:00
|
|
|
<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>
|
2014-09-09 17:21:29 +02:00
|
|
|
<section data-background="rgb(66, 66, 66)">
|
2013-06-04 19:42:56 +02:00
|
|
|
<h2>Background applied to slide inside of stack</h2>
|
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
|
2014-10-17 08:52:38 +02:00
|
|
|
<section data-background-transition="slide" data-background="assets/image1.png">
|
2013-06-04 19:42:56 +02:00
|
|
|
<h2>Background image</h2>
|
|
|
|
</section>
|
|
|
|
|
2013-06-30 03:36:11 +02:00
|
|
|
<section>
|
2014-10-17 08:52:38 +02:00
|
|
|
<section data-background-transition="slide" data-background="assets/image1.png">
|
2013-06-30 03:36:11 +02:00
|
|
|
<h2>Background image</h2>
|
|
|
|
</section>
|
2014-10-17 08:52:38 +02:00
|
|
|
<section data-background-transition="slide" data-background="assets/image1.png">
|
2013-06-30 03:36:11 +02:00
|
|
|
<h2>Background image</h2>
|
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
|
2014-10-17 08:52:38 +02:00
|
|
|
<section data-background="assets/image2.png" data-background-size="100px" data-background-repeat="repeat" data-background-color="#111">
|
2013-06-04 19:42:56 +02:00
|
|
|
<h2>Background image</h2>
|
2013-06-04 21:14:13 +02:00
|
|
|
<pre>data-background-size="100px" data-background-repeat="repeat" data-background-color="#111"</pre>
|
2013-06-04 19:42:56 +02:00
|
|
|
</section>
|
2013-06-10 22:34:51 +02:00
|
|
|
|
|
|
|
<section data-background="#888888">
|
|
|
|
<h2>Same background twice (1/2)</h2>
|
|
|
|
</section>
|
|
|
|
<section data-background="#888888">
|
|
|
|
<h2>Same background twice (2/2)</h2>
|
|
|
|
</section>
|
2013-06-23 01:23:44 +02:00
|
|
|
|
2014-10-17 08:52:38 +02:00
|
|
|
<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>
|
|
|
|
|
2016-01-08 14:18:53 +01:00
|
|
|
<section data-background-iframe="https://slides.com/news/make-better-presentations/embed?style=hidden&autoSlide=4000">
|
2014-10-17 08:52:38 +02:00
|
|
|
<h2>Iframe background</h2>
|
|
|
|
</section>
|
|
|
|
|
2013-10-30 17:22:00 +01:00
|
|
|
<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>
|
|
|
|
|
2013-06-04 19:42:56 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
2020-05-11 09:56:54 +02:00
|
|
|
<script src="../dist/reveal.js"></script>
|
2013-06-04 19:42:56 +02:00
|
|
|
<script>
|
|
|
|
|
2020-05-18 20:52:51 +02:00
|
|
|
// Full list of configuration options:
|
2020-05-19 18:27:00 +02:00
|
|
|
// https://revealjs.revealjs.com/config/
|
2013-06-04 19:42:56 +02:00
|
|
|
Reveal.initialize({
|
2013-06-04 20:15:19 +02:00
|
|
|
center: true,
|
|
|
|
|
|
|
|
transition: 'linear',
|
|
|
|
// transitionSpeed: 'slow',
|
2013-11-04 13:53:07 +01:00
|
|
|
// backgroundTransition: 'slide'
|
2013-06-04 19:42:56 +02:00
|
|
|
});
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|