如何更改Bootstrap复选框的大小? [英] How can I change the size of a Bootstrap checkbox?
本文介绍了如何更改Bootstrap复选框的大小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
想知道是否可以通过按钮更改复选框的大小.我希望它更大一些,因此易于按下.现在看起来像这样:
Wondering if its possible to change the size of checkbox as it's possible with buttons. I want it to be bigger, so it makes it easy to press. Right now its looking like this:
代码:
<div class="form-group">
<label class="col-md-7 control-label">Kalsiumklorid: </label>
<div class="col-md-5" >
{{ Form::checkbox('O_Kals_Klor', 1 , array('class' => 'form-control' )) }}
</div>
</div>
推荐答案
或者您可以用像素设置样式.
Or you can style it with pixels.
.big-checkbox {width: 30px; height: 30px;}
这篇关于如何更改Bootstrap复选框的大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文