+ 2
How to make a background image cover the whole screen in HTML?
I have tried making my background image "fixed" and I have made the image massive but still when I scroll the picture always moves (showing the default white of safari that I do not want). Is there any way to make the background image of my entire web page not move? while covering the whole screen?
2 Réponses
+ 6
body{
background-image:url(imagelink);
background-attachment:fixed;
}
+ 3
body{
background-image:url(img.link);
background-size:100% 100%
}
HappyToHelp that wouldn't work for background images