[英]Bootstrap 3 Panel footer
I am using a panel on my page but applied the .Well class to the body of it so give it a background rather than plain white. 我在页面上使用面板,但是将.Well类应用于其主体,因此为其指定背景而不是纯白色。
There is now a white gap on the bottom. 现在底部有一个白色的缝隙。 Any idea how I can remove that ?
我知道如何删除它吗?
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">Attendee Information</h3>
</div>
<div class="panel-body well">
<div class="row">
<div class="col-md-12">
<label>Required</label>
<input type="text" class="form-control" id="requiredAttendees" placeholder="Please select required attendee's">
<p class="help-block"><em>Enter the last name required attendee(s).</em></p>
</div>
</div>
<div class="row">
<div class="col-md-12">
<label>Segments</label>
<select class="form-control dropdown" name="segment" id="segment" multiple="" placeholder="Select segments / tags for this group">
<option value="">Select Center</option>
<?php $counter = 1; foreach($createSegments->segments as $data){ ?>
<option value="<?php echo $data->id; ?>"><?php echo $data->segmentName; ?></option>
<?php } ?>
</select>
<p class="help-block"><em>Click to select the segments or tags that this focus group pertains to.</em></p>
</div>
</div>
<div class="row">
<div class="col-md-1"></div>
<div class="col-md-11">
<br />
<button type="button" name="createFocusGroup" class="btn btn-primary"><i class="fa fa-users"></i> Create Focus Group</button>
</div>
</div>
</div>
By default, the well in Bootstrap 3 has a 20px margin bottom. 默认情况下,Bootstrap 3中的孔底边距为20px。 Just set:
刚刚设置:
.well {
margin-bottom: 20px;
}
to 至
.well {
margin-bottom: 0;
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.