課程
/前端開發(fā)
/Bootstrap
/玩轉(zhuǎn)Bootstrap(基礎(chǔ))
我想要垂直顯示怎么搞?
2016-12-15
源自:玩轉(zhuǎn)Bootstrap(基礎(chǔ)) 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標(biāo)簽
或者在,
每一個input結(jié)束加一個br標(biāo)簽
<input type="checkbox" name="radio" id="radio6" class="input6"/><label for="radio6">解決方法六</label><br>
舉報
告訴你使用Bootstrap,并且能夠獨(dú)立定制出適合自己的Bootstrap
1 回答導(dǎo)航條不具有響應(yīng)式,一直是垂直顯示
1 回答垂直居中 1
4 回答使用.checkbox
1 回答怎么讓modal垂直居中呢
2 回答垂直居中怎么實(shí)現(xiàn)呢?
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網(wǎng)安備11010802030151號
購課補(bǔ)貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號
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標(biāo)簽
或者在,
每一個input結(jié)束加一個br標(biāo)簽
<input type="checkbox" name="radio" id="radio6" class="input6"/><label for="radio6">解決方法六</label><br>