From 6281619292cd654797e4c04ed1e6b785623ee1bf Mon Sep 17 00:00:00 2001 From: Siri Reiter Date: Mon, 31 Oct 2022 20:35:54 +0100 Subject: background image sizes and placement in percentages --- style.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/style.scss b/style.scss index 56f5777..7b30370 100644 --- a/style.scss +++ b/style.scss @@ -21,8 +21,8 @@ body { @include breakpoint($wide) { background-image: url(cloud.jpg), url(grass.jpg), url(stream.jpg), url(birds.jpg); background-repeat: no-repeat; - background-position: right 5em top 5em, right 5em bottom 5em, left 5em bottom 5em, left 5em top 7em; - background-size: 30em, 30em, 30em, 30em; + background-position: right 5% top 8%, right 5% bottom 5%, left 5% bottom 5%, left 5% top 8%; + background-size: 23%, 23%, 23%, 23%; } } -- cgit v1.2.3