can i use a picture that is in my device not on internet as a background-image?if yes,how? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

can i use a picture that is in my device not on internet as a background-image?if yes,how?

9th Sep 2017, 2:51 AM
sheikhrafe
3 Answers
+ 9
If you want to insert an image that is in your local storage you have to write the exact file path of that specific image. Such as... background-image: url("file:///sdcard/Download/image.jpg")
9th Sep 2017, 3:08 AM
Ranjan Bagri
Ranjan Bagri - avatar
+ 4
...and unless everyone has the same file, linking using file:/// means only you will see them :)
9th Sep 2017, 3:13 AM
Kirk Schafer
Kirk Schafer - avatar