Well, my question is as follows, how can I make a div background in css, with a set of images and not just 1?
Thank you.
Well, my question is as follows, how can I make a div background in css, with a set of images and not just 1?
Thank you.
Simply insert other images and set individual positioning. See the example:
.teste{
min-width:250px;
min-height:250px;
background:#ff0000;
background-image:url('http://www.w3schools.com/tags/smiley.gif'),
url('http://www.css3.info/wp-content/themes/new_css3/img/sheep.png');
background-position: center top, left top;
background-repeat: no-repeat;
}
<div class="teste">
</div>
Documentation: link