From ddd6edf4fd9237a85b6930a699eabceb94a0f650 Mon Sep 17 00:00:00 2001 From: codevictory Date: Sat, 11 Dec 2021 19:48:01 +0200 Subject: [PATCH] Make backgorund image stick to bottom of the page. --- src/index.scss | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/index.scss b/src/index.scss index 1655abc..4d2ac55 100644 --- a/src/index.scss +++ b/src/index.scss @@ -16,14 +16,18 @@ body { 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif !important; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; - background-color: $background !important; - background-image: url('./img/bg-flowers.png'); - background-repeat: no-repeat; - background-size: cover; color: $green-text !important; + background-color: $background !important; } code { font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace; } + +#root { + background-image: url('./img/bg-flowers.png'); + background-repeat: no-repeat; + background-size: cover; + min-height: 100%; +}