+ 2
How can i put an image background for whole of body??
please help me
4 Answers
+ 4
Use :
body {
background-image:url(image-url);
background-size:cover; /* or 'contain' regarding what you prefer */
background-repeat:no-repeat;
}
https://developer.mozilla.org/en-US/docs/Web/CSS/background-size
+ 4
Put it in css :
body {
background-image:url(image-url);
}
replace "image-url" by the url of the url of image you want to use as background.
+ 2
i did that but repeat it both horizontally and vertically!!!
+ 1
thank you. it solved.đâ€