scale background image

This commit is contained in:
Neale Pickett 2011-12-08 12:39:39 -06:00
parent 43d3bd79ec
commit bd6cdfafce
2 changed files with 3 additions and 1 deletions

View File

@ -27,6 +27,7 @@
} }
body { body {
background: url(bg.jpg) #222; background: url(bg.jpg) #222;
background-size: 100% auto;
color: #eee; color: #eee;
font-family: Most Wazted, fantasy; font-family: Most Wazted, fantasy;
font-size: 5em; font-size: 5em;

View File

@ -4,6 +4,7 @@
} }
body { body {
background: #222 url(bg.jpg); background: #222 url(bg.jpg);
background-size: 100% auto;
color: #eee; color: #eee;
max-width: 40em; max-width: 40em;
margin: auto auto; margin: auto auto;