How to make a local computer image as a background image


#1

How do I link a image as a background if it is in the computer?
I'm having a image and I want to make it as a background of a div using the css
background-image:url('some-url')property, how should I do it?


#2

Hi,

You will need to upload it somewhere online

here's an article: https://www.codecademy.com/articles/host-images-on-dropbox


#3

I can't I'm building and want to use it locally!


#4

If your web pages are local then your image can also be local. Is that what you are doing?


#5

This topic was automatically closed after 7 days. New replies are no longer allowed.