Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can making image a background slow down the working of the page

Tags:

html

css

I have created my own website, not much complicated. But when I change the background to image from a simple color everything runs very slow on the site, all the animation and everything.

Working CSS Code:

body{    
    color:#eee; 
        background-color: grey;      

}

CSS that makes website slow:

body{

    color:#eee;
    background-image:url("images/bodyImage3.jpg");
        background-size: 1400px;

}
like image 203
Nick Div Avatar asked Dec 23 '12 03:12

Nick Div


2 Answers

Yes it will. Try background-position: fixed, might help.

like image 182
Index Avatar answered Sep 22 '22 07:09

Index


Yes, a 1400px image can slow down a site.

like image 20
bookcasey Avatar answered Sep 25 '22 07:09

bookcasey