Created
January 10, 2012 19:57
-
-
Save Chrisedmo/1590833 to your computer and use it in GitHub Desktop.
Experimenting with a side scroll for mobile nav
This file contains hidden or 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
/** | |
* Experimenting with a side scroll for mobile nav | |
*/ | |
topscroll { | |
display: none; | |
} | |
ul { | |
width: 1000px; | |
overflow-y: scroll; | |
background-color: grey; | |
} | |
li { | |
display: inline-block; | |
width: 150px; | |
height: 150px; | |
This file contains hidden or 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
<!-- content to be placed inside <body>…</body> --> | |
<div id="topscroll"> | |
<ul> | |
<li>box one</li> | |
<li>box two</li> | |
<li>box three</li> | |
<li>box four</li> | |
<li>box five</li> | |
</ul> | |
</div> |
This file contains hidden or 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
{"view":"split-vertical","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment