Created
April 20, 2012 14:15
-
-
Save johnsardine/2429008 to your computer and use it in GitHub Desktop.
Untitled
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
body { | |
background: #ccc url(http://placehold.it/800x600&text=Fixed); | |
background-attachment: fixed; | |
} | |
.menu { | |
float: left; | |
background: #fff; | |
width: 200px; | |
} | |
.pages { | |
background: #fff; | |
float: right; | |
list-style: none; | |
padding: 5px; | |
} |
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
<nav class="menu"> | |
<ul> | |
<li>menu item</li> | |
<li>menu item</li> | |
<li>menu item</li> | |
<li>menu item</li> | |
<li>menu item</li> | |
<li>menu item</li> | |
<li>menu item</li> | |
<li>menu item</li> | |
<li>menu item</li> | |
<li>menu item</li> | |
<li>menu item</li> | |
<li>menu item</li> | |
<li>menu item</li> | |
<li>menu item</li> | |
<li>menu item</li> | |
<li>menu item</li> | |
<li>menu item</li> | |
<li>menu item</li> | |
<li>menu item</li> | |
<li>menu item</li> | |
<li>menu item</li> | |
<li>menu item</li> | |
<li>menu item</li> | |
</ul> | |
<p>IMHO this is an easier way of handling screen resolution, | |
making the background fixed will still allow you to achieve | |
the effect you desire | |
http://buildinternet.com/project/supersized/ but im not sure how it handles content inside each slide, this is a great plugin for fullscreen backgrounds. | |
With this method i think you would have less trouble making it functional in mobile devices like ipad, etc.</p> | |
</nav> | |
<ul class="pages"> | |
<li><img src="http://placehold.it/200x130" alt=""/></li> | |
<li><img src="http://placehold.it/200x130" alt=""/></li> | |
<li><img src="http://placehold.it/200x130" alt=""/></li> | |
<li><img src="http://placehold.it/200x130" alt=""/></li> | |
<li><img src="http://placehold.it/200x130" alt=""/></li> | |
<li><img src="http://placehold.it/200x130" alt=""/></li> | |
<li><img src="http://placehold.it/200x130" alt=""/></li> | |
<li><img src="http://placehold.it/200x130" alt=""/></li> | |
<li><img src="http://placehold.it/200x130" alt=""/></li> | |
<li><img src="http://placehold.it/200x130" alt=""/></li> | |
<li><img src="http://placehold.it/200x130" alt=""/></li> | |
<li><img src="http://placehold.it/200x130" alt=""/></li> | |
<li><img src="http://placehold.it/200x130" alt=""/></li> | |
<li><img src="http://placehold.it/200x130" alt=""/></li> | |
<li><img src="http://placehold.it/200x130" alt=""/></li> | |
<li><img src="http://placehold.it/200x130" alt=""/></li> | |
</ul> |
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
{"view":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"html"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment