Skip to content

Commit

Permalink
Add Image to fragment
Browse files Browse the repository at this point in the history
Reorganize the page wheredideveryonego#3 to show the first fragment from the get-go
and then fade in the image text and the second fragment.
  • Loading branch information
fforw committed Mar 21, 2020
1 parent 089bce6 commit 77c38ca
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 8 deletions.
8 changes: 7 additions & 1 deletion docs/css/slideshow-style.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,10 @@ body, .reveal {
.reveal .slides > section.slim
{
width: 25%;
}
}

.no-border
{
border: none !important;
box-shadow: none !important;
}
17 changes: 10 additions & 7 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,18 @@
<div class="reveal">
<div class="slides">
<section class="left" data-background="images/back-3.jpg" data-background-size="contain" data-background-repeat="no-repeat">
<p id="fragment-1-1" class="fragment fade">
<p>
<br>
<br>
<br>
<br>
<br>
You might look out the window and ask, “Why are we all inside?"
<br/>
<br/>
<br/>
<br/>
<br/>
</p>
<p id="fragment-1-2" class="fragment fade">Is it still there? Did someone take it away? Where has everyone gone to play?</p>
<p class="fragment fade">
<img class="no-border" data-src="images/3-left.jpg">
Is it still there? Did someone take it away? Where has everyone gone to play?
</p>

</section>
<section class="left" data-background="images/back-4.jpg" data-background-size="contain" data-background-repeat="no-repeat">
Expand Down

0 comments on commit 77c38ca

Please sign in to comment.