Background image custom

Background image custom
0

#1

i am new and very much just learning but is it possible to set a webpage background to an image off your computer instead of say a color?


#2

yes this is possible. Use the css “background-image” property. Check out this link, it should give you a good idea how to use it.


#3

Use background-image: url("link-to-your-image"); Please like if it helped.


#4

like background-image:url(“C:\Users\Central\Downloads”


#5
 background-image: url(“C:\Users\Central\Downloads\imageName.ext”);

or you could use relative paths. like the following:

 background-image: url(“imageName.ext”);

they are called relative paths because they are relative to the current folder you are working in.