+ 1

What would you do if there were multiple background images?

30th Sep 2016, 4:56 AM
Christopher Gu
Christopher Gu - avatar
4 odpowiedzi
+ 1
If The Same Image Is Repeated Multiple Times Then We Should Use The CSS Property : background-repeat : no-repeat; Or If The Image Is Different Then We Can Specify The Position Of Each Image.
13th Oct 2016, 3:54 PM
PIYUSH KUMAR
0
background-position to give to every image a position
1st Oct 2016, 11:11 AM
Driss Baidou
Driss Baidou - avatar
0
add background-size: 100%
12th Nov 2016, 11:04 AM
Harshit Pant
Harshit Pant - avatar
0
you could style the div having that background image to background-size:cover; it works for me or if the image is the same size as its div then you can style it as background-repeat:no-repeat; other wise you resize the image then style to no-one repeat or cover
19th Nov 2016, 10:12 PM
Ozuluonye Bede
Ozuluonye Bede - avatar