【发布时间】:2013-10-15 05:57:39
【问题描述】:
我可以弄清楚如何做到这一点。这个话题帮帮我:adding the arrow to dropdown pills for twitter bootstrap?
通过添加
.dropdown-menu::after {
position: absolute;
top: -6px;
left: 10px;
display: inline-block;
border-right: 8px solid transparent;
border-bottom: 8px solid white;
border-left: 8px solid transparent;
content: '';
}
我能够得到箭头显示。但是,箭头顶部没有边框,所以它现在看起来就像下拉菜单中的一个间隙。有谁知道如何将边框添加到向上箭头?
【问题讨论】:
标签: html css twitter-bootstrap