+ 1

How do i set a background image for a webpage?? Instead of using only solid colors..!

Can i set background image in every element?

13th Apr 2017, 2:54 PM
rohan_m
rohan_m - avatar
1 Antwort
+ 4
body { background-image: url("image.png"); } You can use that to set a background image using CSS. Some more information here - https://www.w3schools.com/css/css_background.asp
13th Apr 2017, 3:01 PM
Jason Merrett
Jason Merrett - avatar