change background-image opacity

This commit is contained in:
ruslan 2024-11-10 11:28:47 +01:00 committed by GitHub
parent 7eb486c888
commit 74716e29b8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,6 +16,18 @@ html {
scrollbar-width: thin; scrollbar-width: thin;
} }
html::before {
content: "";
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: black;
opacity: 0.7;
z-index: -1;
}
body { body {
display: block; display: block;
margin: 0; margin: 0;