+ 3

Can someone help me, inset a background-image from a local source?

8th Sep 2020, 4:07 PM
Khali
Khali - avatar
5 Respostas
8th Sep 2020, 4:13 PM
Raj Chhatrala
Raj Chhatrala - avatar
+ 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.)
8th Sep 2020, 4:17 PM
Gordon
Gordon - avatar
+ 3
You use inline or external css?If external set background-image:url("img_name.png/jpg...");
8th Sep 2020, 4:12 PM
HBhZ_C
HBhZ_C - avatar
8th Sep 2020, 7:03 PM
Divya Mohan
Divya Mohan - avatar
+ 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)
10th Sep 2020, 8:42 AM
KARTHIK
KARTHIK - avatar