Really having trouble with adding an image background, someone help me with a simple css code for background thats functioning, | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Really having trouble with adding an image background, someone help me with a simple css code for background thats functioning,

29th Dec 2017, 2:18 PM
mwas el khaleesi
mwas el khaleesi - avatar
7 Answers
+ 6
background-image:url("link of image")
29th Dec 2017, 2:23 PM
Vukan
Vukan - avatar
+ 5
@Mwas helping you twice for the background and image. https://code.sololearn.com/WUHihI5LlpW4/#css
29th Dec 2017, 2:27 PM
Akash Pal
Akash Pal - avatar
+ 4
Keep in mind that when you want a background image, you'll need to have the imagine on the internet. SoloLearn does not support image inputs from devices. (If the image is on your phone, then upload it to the internet) You can use multiple platforms to upload your images. Once you've uploaded your image you use: body { background-image: URL("http:\\ { Link }"); }
29th Dec 2017, 2:29 PM
Limitless
Limitless - avatar
+ 3
@Mwas I have added my code please see it
29th Dec 2017, 2:28 PM
Akash Pal
Akash Pal - avatar
+ 2
thanks alot guys,,
29th Dec 2017, 2:39 PM
mwas el khaleesi
mwas el khaleesi - avatar
+ 1
I mean in sololearn,,not able to add background image,that's where am stuck,,I can add if am using a PC,
29th Dec 2017, 2:24 PM
mwas el khaleesi
mwas el khaleesi - avatar
+ 1
someone help me with a real code,that u might have worked with, it will help me learn
29th Dec 2017, 2:25 PM
mwas el khaleesi
mwas el khaleesi - avatar