Skip to content

Commit eaa6350

Browse files
committed
Update style.css
1 parent e198bb4 commit eaa6350

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

style.css

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,17 @@ body {
2020
body::before {
2121
content: '';
2222
position: fixed;
23-
top: 0;
24-
left: 0;
25-
right: 0;
26-
bottom: 0;
27-
width: 100%;
28-
height: 100vh;
29-
background-position: center;
23+
top: -50%;
24+
left: -50%;
25+
right: -50%;
26+
bottom: -50%;
27+
width: 200%;
28+
height: 200vh;
29+
background-position: center center;
3030
background-repeat: no-repeat;
3131
background-size: cover;
32-
background-attachment: fixed;
32+
background-attachment: scroll;
3333
filter: blur(3px) brightness(0.7);
34-
transform: scale(1.1);
3534
z-index: -1;
3635

3736
/* Immagine di sfondo, basta cambiare url */

0 commit comments

Comments
 (0)