From bd6cdfafcee139b1b74938c138d6a2ad49100f8a Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Thu, 8 Dec 2011 12:39:39 -0600 Subject: [PATCH] scale background image --- scoreboard.html | 1 + style.css | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/scoreboard.html b/scoreboard.html index 92df83b..b34cd8a 100644 --- a/scoreboard.html +++ b/scoreboard.html @@ -27,6 +27,7 @@ } body { background: url(bg.jpg) #222; + background-size: 100% auto; color: #eee; font-family: Most Wazted, fantasy; font-size: 5em; diff --git a/style.css b/style.css index 9565c71..498303c 100644 --- a/style.css +++ b/style.css @@ -4,6 +4,7 @@ } body { background: #222 url(bg.jpg); + background-size: 100% auto; color: #eee; max-width: 40em; margin: auto auto; @@ -32,4 +33,4 @@ a { caption { font-size: 33%; font-family: default; -} \ No newline at end of file +}