0
我如何垂直对齐我的复选框与他们在bootstrap v4的标签?我下面举个例子:垂直对齐复选框/收音机输入与他们的标签
https://plnkr.co/edit/TmD0ffKrk32oy7etD8g0?p=preview
或
<body style='font-size:200%'>
<div class="form-group has-success"'>
<label class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input">
<span class="custom-control-indicator"></span>
<span class="custom-control-description">Check this</span>
</label>
</div>
<div class="form-group has-warning">
<label class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input">
<span class="custom-control-indicator"></span>
<span class="custom-control-description">Check this</span>
</label>
</div>
<div class="form-group has-danger">
<label class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input">
<span class="custom-control-indicator"></span>
<span class="custom-control-description">Check this</span>
</label>
</div>
</body>
在哪里,我想复选框与标签
编辑垂直居中:有些人提到可能重复的,但我正在寻找一个bootstrap v4解决方案。 Bootstrap增加了许多CSS,比如flex布局等等,这些使我迄今为止阅读的所有解决方案都过时了。
的可能的复制[如何对齐复选框和其标签一致跨浏览器](http://stackoverflow.com/questions/306252/how-to-align-checkboxes-and-their-labels-consistently-cross-browsers)和[主机其他人通过搜索发现](http://stackoverflow.com/search?q=align+checkbox+with+label) – Rob
@Rob感谢您指出了现有的问题,但我正在寻找一个特定的bootstrap v4解决方案.. 。并找不到 – ncohen