ztizzlegaming / CSGOWinBig

Open-source Counter-Strike: Global Offensive jackpot betting website.
MIT License
170 stars 104 forks source link

Backgroud Problem #93

Closed GreYzZ closed 8 years ago

GreYzZ commented 8 years ago

I have this problem that the background is not moving with the site. So if some more items are in the pot the site is getting black and you can't see the background anymore. http://prntscr.com/9aa981

Maybe you have a fix for this?

TheAnthonyNL commented 8 years ago

background-color: black; background-repeat: no-repeat; /* background-position: center top; */
background-attachment: fixed;

Use that as css your site will scroll over the background ;)

andrewda commented 8 years ago

You might also want to use

background-color: black;
background-repeat: no-repeat;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;

background-attachment: fixed;

to force the background to fit the screen.

GreYzZ commented 8 years ago

@TheAnthonyNL @andrewda Thanks