From: Steve Sutton Date: Tue, 19 Aug 2014 20:08:32 +0000 (-0400) Subject: Make background images fixed X-Git-Tag: V1.0^2~14 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=cc15e4ebddeb5c3988119dfbcf40757b1ef10183;p=web%2FKeweenaw.git Make background images fixed adding no-repeat center center fixed to the background url line in css for seasons. --- diff --git a/css/fall.css b/css/fall.css index 8ae596d..cae16a1 100644 --- a/css/fall.css +++ b/css/fall.css @@ -1,4 +1,4 @@ body { - background: url("../assets/background-fall.jpg"); + background: url("../assets/background-fall.jpg") no-repeat center center fixed; background-size: cover; } \ No newline at end of file diff --git a/css/spring.css b/css/spring.css index 01dd8d0..ce1749d 100644 --- a/css/spring.css +++ b/css/spring.css @@ -1,4 +1,4 @@ body { - background: url("../assets/background-spring.jpg"); + background: url("../assets/background-spring.jpg") no-repeat center center fixed; background-size: cover; } \ No newline at end of file diff --git a/css/summer.css b/css/summer.css index 1920f25..32784e2 100644 --- a/css/summer.css +++ b/css/summer.css @@ -1,4 +1,4 @@ body { - background: url("../assets/background.jpg"); + background: url("../assets/background.jpg") no-repeat center center fixed; background-size: cover; } \ No newline at end of file diff --git a/css/winter.css b/css/winter.css index b185cdb..9369fa1 100644 --- a/css/winter.css +++ b/css/winter.css @@ -1,4 +1,4 @@ body { - background: url("../assets/background-winter.jpg"); + background: url("../assets/background-winter.jpg") no-repeat center center fixed; background-size: cover; }