Skip to content

Commit

Permalink
new demo slide to promote iframes/iframe backgrounds
Browse files Browse the repository at this point in the history
  • Loading branch information
hakimel committed Mar 20, 2019
1 parent 6c250a9 commit 8742707
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,13 @@ <h2>Background Transitions</h2>
<pre><code class="hljs html" style="word-wrap: break-word;">&lt;section data-background-transition="zoom"&gt;</code></pre>
</section>

<section data-background-iframe="https://hakim.se" data-background-interactive>
<div style="position: absolute; width: 40%; right: 0; box-shadow: 0 1px 4px rgba(0,0,0,0.5), 0 5px 25px rgba(0,0,0,0.2); background-color: rgba(0, 0, 0, 0.9); color: #fff; padding: 20px; font-size: 20px; text-align: left;">
<h2>Iframe Backgrounds</h2>
<p>Since reveal.js runs on the web, you can easily embed other web content. Try interacting with the page in the background.</p>
</div>
</section>

<section>
<h2>Pretty Code</h2>
<pre><code class="hljs" data-trim data-line-numbers="4,8-9">
Expand Down

0 comments on commit 8742707

Please sign in to comment.