Skip to content

Instantly share code, notes, and snippets.

@ddprrt
Created January 30, 2012 15:00
Show Gist options
  • Save ddprrt/1704847 to your computer and use it in GitHub Desktop.
Save ddprrt/1704847 to your computer and use it in GitHub Desktop.
Untitled
#bg {
position: fixed;
left: 0px;
top: 0px;
min-width: 100%;
min-height: 100%;
}
<!-- content to be placed inside <body>…</body> -->
<img id="bg" src="http://www.silhouette.com/_media/img/home/bild_gross_1600x1080px.jpg" alt="" />
{"view":"separate","prefixfree":"1","page":"css"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment