+ 1

how to set multiple background images...example.please

23rd Aug 2016, 5:56 AM
jay
jay - avatar
7 Answers
+ 2
<div class="img1"></div> <div class="img2"></div>
23rd Aug 2016, 7:53 PM
Anže Ančimer
Anže Ančimer - avatar
+ 1
with css3 background-image: url(image.gif), url(image2.gif);
23rd Aug 2016, 11:07 AM
Anže Ančimer
Anže Ančimer - avatar
+ 1
div.img1 { position: relative; height: 50%; width: 100%; border: 1px solid black; background-image:url("image1.gif"); } div.img2{ position: relative; height:50%; width: 100%; background-image:url("image2.gif"); background-color: #8bc34a; border: 1px solid black; }
23rd Aug 2016, 7:51 PM
Anže Ančimer
Anže Ančimer - avatar
0
thanks how about CSS??
23rd Aug 2016, 5:04 PM
jay
jay - avatar
0
you should use multiple div sections each one with different background image.
23rd Aug 2016, 7:41 PM
Anže Ančimer
Anže Ančimer - avatar
0
anze can u help me create like a prototype webpage
23rd Aug 2016, 8:20 PM
jay
jay - avatar
0
background: url("img1.jpg") left top no-repeat, url("img3.jpg") repeat. Reffer to http://www.w3schools.com/css/css3_backgrounds.asp
26th Nov 2016, 11:15 AM
code-or-die