输入组中的Bootstrap 4自定义复选框

时间:2017-04-24 13:04:44

标签: bootstrap-4 twitter-bootstrap-4

有没有办法在默认的bt4类或层次结构中删除右侧和底部的额外填充?我意识到可以通过添加额外的css来完成,但也许它已经是bt4的一部分了?

<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js"></script>
<script src="https://code.jquery.com/jquery-3.1.1.slim.min.js"></script>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" rel="stylesheet"/>
<form class="menus_settings p-3" data-bind="with: currentItem">
                    <div class="form-group row">
                        <div class="col-12">
                            <div class="input-group">
                                <span class="input-group-addon">
                                    Prepend text
                                </span>
                                <input name="label">
                                <span class="input-group-addon">
                                    <label class="custom-control custom-checkbox">
  <input type="checkbox" class="custom-control-input" checked>
  <span class="custom-control-indicator"></span>
</label>
                                </span>
                            </div>
                        </div>
                    </div>
                </form>

1 个答案:

答案 0 :(得分:-1)

您可以使用spacing utilities

中所写的课程p-0