HTML/CSS Create Div with Arrow Bottom
This question already has an answer here:
Add a span with the absolute position to that div.
<div class="menuSelected"><span></span></div>
#menuSelected {
position: relative;
width: 250px;
height: 35px;
background-color: #368EC5;
}
span {
border-top: 10px solid #368EC5;
border-right: 10px solid transparent;
border-left: 10px solid transparent;
position: absolute;
bottom: -10px;
left: 20px;
}
See updated fiddle.
链接地址: http://www.djcxy.com/p/89494.html下一篇: HTML / CSS用箭头底部创建Div