Twitter bootstrap 引导拉右块级别
我试图让它看起来像这样:Twitter bootstrap 引导拉右块级别,twitter-bootstrap,Twitter Bootstrap,我试图让它看起来像这样: 所以本质上我想把这个符号拉对。我试图使用pull right类,但它只是将元素向右浮动。我想要两个街区级别的元素,第一个元素向右拉。如何使用bootstrap实现这一点?span是内联元素,因此只需将a和span标记的位置切换到此位置 <div class="col-xs-12 col-sm-6"> <div class="add-repeat"> <span class="glyphicon glyphicon-plus p
所以本质上我想把这个符号拉对。我试图使用pull right类,但它只是将元素向右浮动。我想要两个街区级别的元素,第一个元素向右拉。如何使用bootstrap实现这一点?span是内联元素,因此只需将
a
和span
标记的位置切换到此位置
<div class="col-xs-12 col-sm-6">
<div class="add-repeat">
<span class="glyphicon glyphicon-plus pull-right" id="plus"></span>
<a href="" class="select">ADD PROGRAM</a>
</div>
</div>
<div class="col-xs-12 col-sm-6">
<div class="add-repeat">
<a href="" class="select">ADD PROGRAM</a>
<span class="glyphicon glyphicon-plus" id="plus"></span>
</div>
</div>