Skip to content

Instantly share code, notes, and snippets.

@ColeTownsend
Forked from anonymous/dabblet.css
Created January 4, 2013 18:50
Show Gist options
  • Save ColeTownsend/4454915 to your computer and use it in GitHub Desktop.
Save ColeTownsend/4454915 to your computer and use it in GitHub Desktop.
Vertical Slider
/**
* Vertical Slider
*/
body {
background: #bababa;
min-width: 100%;
min-height: 100%;
}
.slider {
display: block;
margin: 0 auto;
border: none;
width: 200px;
height: 400px;
background: red;
overflow: hidden;
}
.slider ul {
list-style-type: none;
display: inline-block;
height: 600px;
width: 200px;
border: none;
outline: none;
}
<!-- content to be placed inside <body>…</body> -->
<body>
<div class="slider">
<ul>
<li></li>
<li></li>
<li></li>
</div>
</body>
// alert('Hello world!');
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment