Posted by How to get css backrounds to not move

:sparkles: Bloop
:sparkles: (#385193)


View Forum Posts


Posted on
2022-12-14 18:18:38
Hello, I'm following Katie's CSS tut and I was just wondering if there is a way to get the background image to not move when you scroll. Right now when I scroll up or down the background image will move with it and they are stacked like there are multiple. I just don't like the aesthetic of it so I was wondering if there was a way to get only the den thing it moves instead of it just being a whole when scrolling. I have seen it with others' dens so any help will be appreciated!



Hrt Icon 0 players like this post! Like?

faster [SIDE] (#233475)

Buzzkill
View Forum Posts


Posted on
2022-12-14 18:44:29
body {
background: url('insert url') no-repeat center center fixed;
background-size: cover;
}

this is the code I used for my background, it should work !!



Hrt Icon 0 players like this post! Like?

:sparkles: Bloop
:sparkles: (#385193)


View Forum Posts


Posted on
2022-12-14 18:49:31
TY!! I just tried it and it worked, thank you so much



Hrt Icon 0 players like this post! Like?







Memory Used: 621.15 KB - Queries: 0 - Query Time: 0.00000 - Total Time: 0.00315s