@media (min-width: 1200px) {
.post-listview:nth-child(4n+1) {
clear: left;
}
}
@media (max-width: 1199px) {
.post-listview:nth-child(2n+1) {
clear: left;
}
}
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" />
<div class="container">
<div class="postrow row">
<article class="post-listview col-lg-3 col-xs-6">
<div class="articleinner">
<div class="thumbandtitle">
<img src="http://placehold.it/350x150" class="img-responsive post-thumbnail">
<div class="post-overlay">
<div class="post-overlay-text">
<h2><a href="#">ONE</a></h2>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen
book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchangeLorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's</p>
</div>
</div>
</div>
<p class="post-info">
<i class="post-icon post-date-icon fa fa-calendar"></i>time
<span class="separator"></span>
<span class="tagspan"><i class="post-icon post-author-icon fa fa-user"></i><a href="x">authorname</a></span>
<span class="separator"></span>
<span class='tagspan'><i class="post-icon post-tags-icon fa fa-tags"></i>tag1, tag2, tag3...</span>
</p>
</div>
</article>
<article class="post-listview col-lg-3 col-xs-6">
<div class="articleinner">
<div class="thumbandtitle">
<img src="http://placehold.it/350x150" class="img-responsive post-thumbnail">
<div class="post-overlay">
<div class="post-overlay-text">
<h2><a href="#">TWO</a></h2>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen
book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchange Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's
standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially
unchange
</p>
</div>
</div>
</div>
<p class="post-info">
<i class="post-icon post-date-icon fa fa-calendar"></i>time
<span class="separator"></span>
<span class="tagspan"><i class="post-icon post-author-icon fa fa-user"></i><a href="x">authorname</a></span>
<span class="separator"></span>
<span class='tagspan'><i class="post-icon post-tags-icon fa fa-tags"></i>tag1, tag2, tag3...</span>
</p>
</div>
</article>
<article class="post-listview col-lg-3 col-xs-6">
<div class="articleinner">
<div class="thumbandtitle">
<img src="http://placehold.it/350x150" class="img-responsive post-thumbnail">
<div class="post-overlay">
<div class="post-overlay-text">
<h2><a href="#">THREE</a></h2>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown Lorem Ipsum is simply dummy text of the printing and typesetting industry.
Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into
electronic typesetting, remaining essentially unchange.</p>
</div>
</div>
</div>
<p class="post-info">
<i class="post-icon post-date-icon fa fa-calendar"></i>time
<span class="separator"></span>
<span class="tagspan"><i class="post-icon post-author-icon fa fa-user"></i><a href="x">authorname</a></span>
<span class="separator"></span>
<span class='tagspan'><i class="post-icon post-tags-icon fa fa-tags"></i>tag1, tag2, tag3...</span>
</p>
</div>
</article>
<article class="post-listview col-lg-3 col-xs-6">
<div class="articleinner">
<div class="thumbandtitle">
<img src="http://placehold.it/350x150" class="img-responsive post-thumbnail">
<div class="post-overlay">
<div class="post-overlay-text">
<h2><a href="#">FOUR</a></h2>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen
book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchange setting industry. Lorem Ipsum has be</p>
</div>
</div>
</div>
<p class="post-info">
<i class="post-icon post-date-icon fa fa-calendar"></i>time
<span class="separator"></span>
<span class="tagspan"><i class="post-icon post-author-icon fa fa-user"></i><a href="x">authorname</a></span>
<span class="separator"></span>
<span class='tagspan'><i class="post-icon post-tags-icon fa fa-tags"></i>tag1, tag2, tag3...</span>
</p>
</div>
</article>
<article class="post-listview col-lg-3 col-xs-6">
<div class="articleinner">
<div class="thumbandtitle">
<img src="http://placehold.it/350x150" class="img-responsive post-thumbnail">
<div class="post-overlay">
<div class="post-overlay-text">
<h2><a href="#">FIVE</a></h2>
<p>xyz</p>
</div>
</div>
</div>
<p class="post-info">
<i class="post-icon post-date-icon fa fa-calendar"></i>time
<span class="separator"></span>
<span class="tagspan"><i class="post-icon post-author-icon fa fa-user"></i><a href="x">authorname</a></span>
<span class="separator"></span>
<span class='tagspan'><i class="post-icon post-tags-icon fa fa-tags"></i>tag1, tag2, tag3...</span>
</p>
</div>
</article>
<article class="post-listview col-lg-3 col-xs-6">
<div class="articleinner">
<div class="thumbandtitle">
<img src="http://placehold.it/350x150" class="img-responsive post-thumbnail">
<div class="post-overlay">
<div class="post-overlay-text">
<h2><a href="#">SIX</a></h2>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen
book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchange Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's
</p>
</div>
</div>
</div>
<p class="post-info">
<i class="post-icon post-date-icon fa fa-calendar"></i>time
<span class="separator"></span>
<span class="tagspan"><i class="post-icon post-author-icon fa fa-user"></i><a href="x">authorname</a></span>
<span class="separator"></span>
<span class='tagspan'><i class="post-icon post-tags-icon fa fa-tags"></i>tag1, tag2, tag3...</span>
</p>
</div>
</article>
<article class="post-listview col-lg-3 col-xs-6">
<div class="articleinner">
<div class="thumbandtitle">
<img src="http://placehold.it/350x150" class="img-responsive post-thumbnail">
<div class="post-overlay">
<div class="post-overlay-text">
<h2><a href="#">SEVEN</a></h2>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen
</p>
</div>
</div>
</div>
<p class="post-info">
<i class="post-icon post-date-icon fa fa-calendar"></i>time
<span class="separator"></span>
<span class="tagspan"><i class="post-icon post-author-icon fa fa-user"></i><a href="x">authorname</a></span>
<span class="separator"></span>
<span class='tagspan'><i class="post-icon post-tags-icon fa fa-tags"></i>tag1, tag2, tag3...</span>
</p>
</div>
</article>
<article class="post-listview col-lg-3 col-xs-6">
<div class="articleinner">
<div class="thumbandtitle">
<img src="http://placehold.it/350x150" class="img-responsive post-thumbnail">
<div class="post-overlay">
<div class="post-overlay-text">
<h2><a href="#">EIGHT</a></h2>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen
book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchange Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's
</p>
</div>
</div>
</div>
<p class="post-info">
<i class="post-icon post-date-icon fa fa-calendar"></i>time
<span class="separator"></span>
<span class="tagspan"><i class="post-icon post-author-icon fa fa-user"></i><a href="x">authorname</a></span>
<span class="separator"></span>
<span class='tagspan'><i class="post-icon post-tags-icon fa fa-tags"></i>tag1, tag2, tag3...</span>
</p>
</div>
</article>
<article class="post-listview col-lg-3 col-xs-6">
<div class="articleinner">
<div class="thumbandtitle">
<img src="http://placehold.it/350x150" class="img-responsive post-thumbnail">
<div class="post-overlay">
<div class="post-overlay-text">
<h2><a href="#">NINE</a></h2>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown
</p>
</div>
</div>
</div>
<p class="post-info">
<i class="post-icon post-date-icon fa fa-calendar"></i>time
<span class="separator"></span>
<span class="tagspan"><i class="post-icon post-author-icon fa fa-user"></i><a href="x">authorname</a></span>
<span class="separator"></span>
<span class='tagspan'><i class="post-icon post-tags-icon fa fa-tags"></i>tag1, tag2, tag3...</span>
</p>
</div>
</article>
</div>
</div>
[在自举的对齐网格项目的CSS指导(的可能的复制http://stackoverflow.com/questions/34840873/css-guidance-on-aligning -grid-items-in-boostrap) – vanburen
如果您花时间阅读复制中问题的接受答案,您会发现它与以任何方式设置最小高度无关。 SO上有无数与您的问题直接相关的答案(清楚列的浮动),所以您应该花时间搜索并阅读它们。 – vanburen
接受的答案建议使用'clear:float'基于特定的屏幕宽度,这对我来说不是一个可行的选择,因为a)它的手动和屏幕尺寸可以大不相同,并且b)在我的'上添加'clear:float' '标签仍然没有消除差距,只是将其从左向右移动。无论如何,感谢您的帮助非常大。 –
TheLearner