如何在div之間添加垂直空間。有沒有可以在這裏添加的引導類? 有什麼幫助嗎?Bootstrap方式在字段之間添加垂直空間
下面是我的代碼片段:
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label class="control-label col-lg-4"> Project: </label>
<div class="col-lg-8">
@Html.TextBoxFor(model => model.detailsConfig.Project, new { onkeypress = "return isNumberKey(event)", @class = "form-control", id = "Project" })
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label class="control-label col-lg-4">Quantity:</label>
<div class="col-lg-8">
@Html.TextBoxFor(model => model.detailsConfig.Quantity, new { onkeypress = "return isNumberKey(event)", @class = "form-control", id = "Quantity" })
</div>
</div>
</div>
</div>
[Twitter的引導 - 添加行之間頂部空間]的可能的複製(https://stackoverflow.com/questions/10085723/twitter-bootstrap-add-top-space-between-rows) –