+ 8

learning css is soo exciting how to use background-image if my images name is img.jpg

i love css easy to learn and understand but facing some difficulities to learn properties and values are too easy

29th Jan 2017, 10:38 AM
Prashanth Kumar
Prashanth Kumar - avatar
8 ответов
+ 7
want to type url ok thanks
29th Jan 2017, 10:54 AM
Prashanth Kumar
Prashanth Kumar - avatar
+ 7
i will try it
29th Jan 2017, 10:54 AM
Prashanth Kumar
Prashanth Kumar - avatar
+ 6
body {background-image: url('img.jpg')}
29th Jan 2017, 10:53 AM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
+ 3
{background-image: url(.../img.jpg);}
14th Mar 2017, 9:34 PM
S_M_A
S_M_A - avatar
+ 1
body { background-image: url('img.jpg') }
20th Feb 2017, 8:40 PM
Mr.Kaash
+ 1
I think like that we can do it
26th Mar 2017, 7:13 PM
Dev Shah
Dev Shah - avatar
0
it's always recommended to rename the image file to something other than "IMG"
24th Feb 2017, 6:27 PM
AayAayRon
AayAayRon - avatar
0
you can try <body background="IMG.jpg">
26th Mar 2017, 7:13 PM
Dev Shah
Dev Shah - avatar