javascript - Remove space between posts [bootstrap] -
i need remove space between post without image , post below, here image, if post don't have image, below post should not have space:
here code:
<div class="container"> <div class="row"> <div class="col-sm-4 col-md-4"> <img src="http://placehold.it/460x250/e67e22/ffffff&text=html5" class="img-responsive" /> <div class="content"> <h4>naslov</h4> <p> lorem ipsum dummy text of printing , typesetting industry. lorem ipsum has been industry's standard dummy text ever since 1500s, when unknown printer took galley of type , scrambled make type specimen book. </p> </div> </div> <div class="col-sm-4 col-md-4"> <img src="http://placehold.it/460x250/e67e22/ffffff&text=html5" class="img-responsive" /> <div class="content"> <h4>naslov</h4> <p> lorem ipsum dummy text of printing , typesetting industry. lorem ipsum has been industry's standard dummy text ever since 1500s, when unknown printer took galley of type , scrambled make type specimen book. </p> </div> </div> <div class="col-sm-4 col-md-4"> <img src="http://placehold.it/460x250/e67e22/ffffff&text=html5" class="img-responsive" /> <div class="content"> <h4>naslov</h4> <p> lorem ipsum dummy text of printing , typesetting industry. lorem ipsum has been industry's standard dummy text ever since 1500s, when unknown printer took galley of type , scrambled make type specimen book. </p> </div> </div> <div class="col-sm-4 col-md-4"> <img src="http://placehold.it/460x250/e67e22/ffffff&text=html5" class="img-responsive" /> <div class="content"> <h4>naslov</h4> <p> lorem ipsum dummy text of printing , typesetting industry. lorem ipsum has been industry's standard dummy text ever since 1500s, when unknown printer took galley of type , scrambled make type specimen book. </p> </div> </div> <div class="col-sm-4 col-md-4"> <img src="http://placehold.it/460x250/e67e22/ffffff&text=html5" class="img-responsive" /> <div class="content"> <h4>naslov</h4> <p> lorem ipsum dummy text of printing , typesetting industry. lorem ipsum has been industry's standard dummy text ever since 1500s, when unknown printer took galley of type , scrambled make type specimen book. </p> </div> </div> <div class="col-sm-4 col-md-4"> <img src="http://placehold.it/460x250/e67e22/ffffff&text=html5" class="img-responsive" /> <div class="content"> <h4>naslov</h4> <p> lorem ipsum dummy text of printing , typesetting industry. lorem ipsum has been industry's standard dummy text ever since 1500s, when unknown printer took galley of type , scrambled make type specimen book. </p> </div> </div> <div class="col-sm-4 col-md-4"> <img src="http://placehold.it/460x250/e67e22/ffffff&text=html5" class="img-responsive" /> <div class="content"> <h4>naslov</h4> <p> lorem ipsum dummy text of printing , typesetting industry. lorem ipsum has been industry's standard dummy text ever since 1500s, when unknown printer took galley of type , scrambled make type specimen book. </p> </div> </div> </div> </div>
here live: http://www.bootply.com/sfmrgtiks4 idea? :)
to want template not have arranged in rows columns in way elements within each column in place under each other without space constraint imposed line. remove external <div class="row">
Comments
Post a Comment