Full Page Background

by on February 21, 2012 in
Full Page Background Difficulty Level: Beginner

Orman 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.


<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>


#bg {

Screencast for Jonathan

Other Solutions

http://css-tricks.com/perfect-full-page-background-image/ – Chris Coyier’s solution. Works beautifully with jQuery!

If you liked this article, you might also like:
  • http://www.facebook.com/jelmarrr Jelmar Bosscher

    Just so u know, you should be getting way more credit for everything you do.