0
Well, my question is this, how can I do a background of a div in css, with a set of images and not just 1?
Thank you.
0
Well, my question is this, how can I do a background of a div in css, with a set of images and not just 1?
Thank you.
3
Just 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: http://www.css3.info/preview/multiple-backgrounds/
Browser other questions tagged css
You are not signed in. Login or sign up in order to post.