View Single Post
Old 06-11-2018, 04:41 PM   #28
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,708
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Seems webkit likes to have the background-attachment property explicitly set to "fixed" (as opposed to the default "scroll") for the effect to work.

Code:
body {
     margin: 0;
     padding: 0;
     background: url("../Images/banlv%40k3.jpg");
     background-size: contain;
     background-repeat: no-repeat;
     background-position: 50% 50%;
     background-attachment: fixed;
}

Last edited by DiapDealer; 06-11-2018 at 06:01 PM.
DiapDealer is offline   Reply With Quote