how to set background image in css | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

how to set background image in css

what is code for set background image from mobile storage "code"

6th May 2020, 4:51 PM
Arun
Arun - avatar
6 Answers
+ 4
METHOD 1: DROPBOX Application --> First Download Dropbox from Playstore. DownloadLink: https://play.google.com/store/apps/details?id=com.dropbox.android --> Upload image that you want to add in HTML on Sololearn. --> Get link of image from Dropbox that you want to add in HTML on Sololearn. NOTE: there is "dl=0" at the last of link Replace it with "raw=1" . METHOD 2: imgur.com Website --> First Create your Account. --> Upload image that you want to add in HTML on Sololearn. --> Get link of image that you want to add in HTML on Sololearn.
6th May 2020, 5:54 PM
ROHIT KANOJIYA
ROHIT KANOJIYA - avatar
+ 8
Here is a Dropbox Tutorial. You may find it useful! https://code.sololearn.com/WW6t4B73kJVz/?ref=app
6th May 2020, 5:13 PM
Nova
Nova - avatar
+ 4
On sololearn, you can't access images from your mobile storage. What you can do is, you can store you image on a free cloud storage, like dropbox or imgur and then get the link and use it in your code.
6th May 2020, 4:59 PM
XXX
XXX - avatar
+ 2
great...
7th May 2020, 10:01 AM
OLANIYI Babarinde Isola
OLANIYI Babarinde Isola - avatar
+ 1
thank u for help can u tell me code for how i insert image in css code is background-image:url('http://imgur.com/gallery/tsayFoK'); background-size:absolute ; background-position:center ; position:relative ; overflow-x:hidden; it is wrong or right #Rohit Kanojiya
6th May 2020, 6:14 PM
Arun
Arun - avatar
0
Sololearn background image how?
12th Oct 2022, 11:35 AM
Obay obay Hak
Obay obay Hak - avatar