+ 3

can you set a background image to a div & have the background of the site fixed & the background of the div scroll?

27th Jun 2016, 8:46 AM
Tom
3 ответов
+ 2
body { background-image: url("blabla.png"); background-repeat: no-repeat; background-attachment: fixed; } div { background-image:url(blabla2.png"); background-repeat: no-repeat; background-attachment: scroll; }
27th Jun 2016, 10:38 PM
Serban Cosmin
Serban Cosmin - avatar
+ 2
Thanks
30th Jun 2016, 10:11 PM
Tom
0
yxyxd y yyx
30th Jun 2016, 4:34 PM
Munir