+ 4

How to use background-image:; in CSS?

28th Nov 2016, 11:25 PM
Silas Junior
Silas Junior - avatar
7 ответов
+ 4
background-image: url('example.jpg'); i'm not sure, but i think this was right.
28th Nov 2016, 11:26 PM
Max_N
Max_N - avatar
+ 4
@Max_N Hey! It worked, man. Thanks a lot.
28th Nov 2016, 11:41 PM
Silas Junior
Silas Junior - avatar
+ 2
if you have issues, write it here :)
28th Nov 2016, 11:33 PM
Max_N
Max_N - avatar
+ 2
no problem man :)
28th Nov 2016, 11:41 PM
Max_N
Max_N - avatar
+ 2
yes it is background-image: URL(image.jpg); you can use just background: URL(path.jpg); you can use more than one image too
29th Nov 2016, 4:15 AM
Sandeep Chatterjee
+ 1
@Max_N Thank you, i hope it works.
28th Nov 2016, 11:32 PM
Silas Junior
Silas Junior - avatar
+ 1
type background-image : url("pic.jpg")
29th Nov 2016, 4:18 AM
Krutarth Makwana
Krutarth Makwana - avatar