課程
/前端開發
/Bootstrap
/玩轉Bootstrap(基礎)
我想要垂直顯示怎么搞?
2016-12-15
源自:玩轉Bootstrap(基礎) 3-8
正在回答
不好意思,沒看太懂你的問題,直接把label的class寫成checkbox,而不是寫成checkbox-inline不就是垂直顯示么?你是還有憋的要求么?
bootstrap的垂直效果在外面包一層div class="btn-group-vertical"
<div class="btn-group-vertical">
<input type="checkbox" name="radio" id="radio6" class="input6"/>
</div>
我要加班 提問者
這個````````你怎么可以這樣``````````我是想問bootstrap有沒有特定的class
Alexey
<p><input type="checkbox" name="radio" id="radio6" class="input6"/><label for="radio6">解決方法六</label></p>
每一個input外包一個p標簽
或者在,
每一個input結束加一個br標簽
<input type="checkbox" name="radio" id="radio6" class="input6"/><label for="radio6">解決方法六</label><br>
舉報
告訴你使用Bootstrap,并且能夠獨立定制出適合自己的Bootstrap
1 回答導航條不具有響應式,一直是垂直顯示
1 回答垂直居中 1
4 回答使用.checkbox
1 回答怎么讓modal垂直居中呢
2 回答垂直居中怎么實現呢?
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2017-02-09
不好意思,沒看太懂你的問題,直接把label的class寫成checkbox,而不是寫成checkbox-inline不就是垂直顯示么?你是還有憋的要求么?
2016-12-15
bootstrap的垂直效果在外面包一層div class="btn-group-vertical"
<div class="btn-group-vertical">
<input type="checkbox" name="radio" id="radio6" class="input6"/>
<input type="checkbox" name="radio" id="radio6" class="input6"/>
<input type="checkbox" name="radio" id="radio6" class="input6"/>
<input type="checkbox" name="radio" id="radio6" class="input6"/>
</div>
2016-12-15
這個````````你怎么可以這樣``````````我是想問bootstrap有沒有特定的class
2016-12-15
<p><input type="checkbox" name="radio" id="radio6" class="input6"/><label for="radio6">解決方法六</label></p>
每一個input外包一個p標簽
或者在,
每一個input結束加一個br標簽
<input type="checkbox" name="radio" id="radio6" class="input6"/><label for="radio6">解決方法六</label><br>