From aa728b64f77e87e816fb84e51dcdd6f698048628 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Mon, 15 Oct 2018 11:42:58 +0200 Subject: [PATCH] style: use a fixed backgruond --- css/style.css | 3 ++- scss/style.scss | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/css/style.css b/css/style.css index c89650d..a783ca8 100644 --- a/css/style.css +++ b/css/style.css @@ -1,7 +1,8 @@ /* ------------------ CUSTOM STYLE ------------------- */ body { background: #666 url("../img/background.png"); - padding: 30px; } + padding: 30px; + background-attachment: fixed; } @media (max-width: 767.98px) { body { diff --git a/scss/style.scss b/scss/style.scss index c53482e..c3d6ac3 100644 --- a/scss/style.scss +++ b/scss/style.scss @@ -28,6 +28,7 @@ $color-mark: $color-yellow; body { background: #666 url('../img/background.png'); padding: 30px; + background-attachment: fixed; } @media (max-width: 767.98px) {