From 0a45e899ad8081cc8bdd08c1d8784ce4e072252b Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Mon, 15 Oct 2018 11:42:16 +0200 Subject: [PATCH] make background responsive --- css/style.css | 5 +++++ scss/style.scss | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/css/style.css b/css/style.css index 6f235f4..c89650d 100644 --- a/css/style.css +++ b/css/style.css @@ -3,6 +3,11 @@ body { background: #666 url("../img/background.png"); padding: 30px; } +@media (max-width: 767.98px) { + body { + background: none; + padding: 0; } } + #wrapper { background-color: #FFF; } diff --git a/scss/style.scss b/scss/style.scss index e48eaca..c53482e 100644 --- a/scss/style.scss +++ b/scss/style.scss @@ -30,6 +30,13 @@ body { padding: 30px; } +@media (max-width: 767.98px) { + body { + background: none; + padding: 0; + } +} + #wrapper { background-color: #FFF }