Last active
August 29, 2015 14:17
-
-
Save vlandham/8354a21c83540b692e02 to your computer and use it in GitHub Desktop.
scroll_demo_snippets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#sections { | |
position: relative; | |
display: inline-block; | |
width: 250px; | |
top: 0px; | |
z-index: 90; | |
} | |
.step { | |
margin-bottom: 200px; | |
} | |
#vis { | |
display: inline-block; | |
position: fixed; | |
top: 60px; | |
z-index: 1; | |
margin-left: 0; | |
height: 600px; | |
width: 600px; | |
background-color: #ddd; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id='graphic'> | |
<div id='sections'> | |
<section class="step"> | |
<div class="title">OpenVis Conf 2013</div> | |
I did what no presenter should ever do: I watched my own talk... | |
</section> | |
<section class="step"> | |
<!-- another section --> | |
</section> | |
</div> | |
<div id='vis'> | |
</div> | |
</div> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment