使按钮变成全角? [英] Making button go full-width?
本文介绍了使按钮变成全角?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想要一个按钮来占据列的整个宽度,但有困难...
<button class="btn btn-large btn-block btn-primary" type="button">块级按钮</button>
如何使按钮与列一样宽?
解决方案
Bootstrap v3 &v4
在按钮/元素上使用 btn-block
类
引导程序 v2
在按钮/元素上使用 input-block-level
类
I want a button to take up the full width of the column, but having difficulties...
<div class="span9 btn-block">
<button class="btn btn-large btn-block btn-primary" type="button">Block level button</button>
</div>
How do I make the button as wide as the column?
解决方案
Bootstrap v3 & v4
Use btn-block
class on your button/element
Bootstrap v2
Use input-block-level
class on your button/element
这篇关于使按钮变成全角?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文