checkbox的大小自举 [英] Size of checkbox bootstrap
本文介绍了checkbox的大小自举的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
想知道是否可以更改复选框的大小,因为它可能与底部。我希望它更大,所以它使得它很容易按。现在它看起来像这样:
Wondering if its possible to change the size of checkbox as it's possible with bottoms. 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>
推荐答案
这可能在css,但不是所有
It is possible in css, but not for all the browsers.
对所有浏览器的影响:
http://www.456bereastreet.com/lab/form_controls/checkboxes/
一种可能性是使用javascript的自定义复选框:
A possibility is a custom checkbox with javascript:
http://ryanfait.com/resources/custom-checkboxes-and-radio-buttons/
这篇关于checkbox的大小自举的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文