当我从标签中删除输入标签时,布局高度我无法弄清楚为什么高度会发生变化。当输入标签与标签一起放置时,高度对齐是否会发生特殊情况?
从:
<div class=" pull-right">
<label class="pull-left"><small>FROM:</small><input type="date"></label>
<label class="pull-left"><small>TO:</small><input type="date"></label>
</div>
至:
<div class=" pull-right">
<label class="pull-left"><small>FROM:</small><input type="date"></label>
<label class="pull-left"><small>TO:</small></label>
</div>