Multiple background-images and a background-color
问题 Suppose I want to render an arrow in CSS, which should have a head, a tail and flexible width so it can contain text. I can of course create multiple divs to get what I want, but how can this be done in CSS3? I can use multiple background images: div.arrow{ background: url('arrowtail.png') left no-repeat, url('arrowhead.png') right no-repeat; } The html: <div class="arrow">This text is on a transparent background</div> This gives me an div with an arrow-head and tail, and a transparent middle