+ 3
Can someone help me, inset a background-image from a local source?
5 Answers
+ 6
You need to upload your image to internet so that the others can see it. There are two free hosts :
How to host an image, the imgbb way, by Farhanaz đ
https://code.sololearn.com/Wy3lrXNwGsgJ/?ref=app
[Tutorial] Upload content from your device to CodePlayground - The Dropbox way
https://code.sololearn.com/WW6t4B73kJVz/?ref=app
This question has been asked and can be searched for. Users of this Q&A forum are recommended to use search feature before asking questions to avoid duplicates.
https://www.sololearn.com/Discuss/1316935/?ref=app
Search bar is here:
https://www.sololearn.com/post/10362/?ref=app
(Tips: Remember to switch filter option to "Most Popular" first, try also switching to trending once a while. Sometimes the popular filter doesn't show relevant results.)
+ 3
You use inline or external css?If external set background-image:url("img_name.png/jpg...");
+ 1
To make this simple
just place the image you want to insert where your HTML file is present
And then use this in CSS code
background-image:url('nameofimage.jpg/png)