Bootstrap部分填充问题

时间:2016-09-28 17:54:21

标签: css twitter-bootstrap

我有以下html:在第3部分,按钮组后没有按钮填充。那是为什么?

<section style="background-color:#e67e22">
    <div class="container">
        <h1>Edit</h1>
    </div>

 </section>

<section class="well" >
<div class="container">
    <label for="inventory-name">Inventory Name</label>
    <input type="text" value="@Model.InventoryName" autofocus class="form-control" id="inventory-name" />
</div>

</section>

<section >
    <div class="container">
    <div class="btn-group" role="group" aria-label="Basic example">
        <button type="button" class="btn btn-default">Save Changes</button>
        <button type="button" class="btn btn-default">Add</button>
        <button type="button" class="btn btn-success">Post to Facebook</button>

        <button type="button" class="btn btn-danger">Delete</button>
    </div>
</div>

</section>

<section>
<div class="container">

    <p>Hello</p>

</div>

  </section>

1 个答案:

答案 0 :(得分:1)

官方getbootstrap.com也使用了自定义类来提供保证金最高和保证金最低点。

See this image to see developer view of the custom class they used

如果你没有得到评论......!