Update background image trick screenshot

This commit is contained in:
daudix
2024-09-11 21:42:12 +03:00
parent 6e2d7e9fbc
commit 8a373dcb20

View File

@ -184,7 +184,7 @@ hr {
Want to set some nice image as a background? We got you covered: Want to set some nice image as a background? We got you covered:
![background image](https://files.catbox.moe/kgrgqr.png) ![background image](https://files.catbox.moe/no8vfc.png)
```scss ```scss
@import "../themes/duckquill/sass/_variables.scss"; @import "../themes/duckquill/sass/_variables.scss";
@ -200,7 +200,7 @@ Want to set some nice image as a background? We got you covered:
} }
body { body {
background: var(--bg-overlay), center / cover no-repeat fixed url("https://images.unsplash.com/photo-1523712999610-f77fbcfc3843?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"); background: var(--bg-overlay), center / cover no-repeat fixed url("https://images.unsplash.com/photo-1523712999610-f77fbcfc3843");
} }
``` ```