From 6db17e7bbd7d681ee394bc05492fade53d79fda2 Mon Sep 17 00:00:00 2001 From: daudix Date: Fri, 11 Oct 2024 19:37:03 +0300 Subject: [PATCH] More verbose background image mod (not quite mod) --- content/mods/index.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/content/mods/index.md b/content/mods/index.md index e91b37f..d78b694 100644 --- a/content/mods/index.md +++ b/content/mods/index.md @@ -33,7 +33,10 @@ Want to set some nice image as a background? We got you covered: } body { - background: var(--bg-overlay), center / cover no-repeat fixed url("https://images.unsplash.com/photo-1523712999610-f77fbcfc3843"); + background-image: var(--bg-overlay), url("https://images.unsplash.com/photo-1523712999610-f77fbcfc3843"); + background-position: center; + background-size: cover; + background-attachment: fixed; } ```