Difficulty Level: BeginnerOrman Clark’s Scope theme taught me a few things.
1) Isotope is awesome.
2) Full page backgrounds are easy, beautiful, and low-bandwidth.
View Demo
View Demo – Large Background
View Demo – Small Background
According to Google Browser size, almost all users see a ratio of 2:1 when viewing websites. And we’re using the min-width/min-height properties which scale images up.
That means you can use a 500px by 250px image that’s been smushed to a few kB to be your big, beautiful, full-screen background.
The HTML
<img id="bg" src="bg.jpg">
<div id="content">
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
</div>
The CSS
#bg {
position:fixed;
left:0;
top:0;
min-height:100%;
min-width:100%;
z-index:-1;
}
Screencast for Jonathan
Other Solutions
http://css-tricks.com/perfect-full-page-background-image/ – Chris Coyier’s solution. Works beautifully with jQuery!
