i erstellt Bildergalerie mit Beschriftung an der Spitze mit Thumbnail-Klasse von Bootstrap wie folgt aus:Bootstrap image thumbnail Behälter keine Lücke
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<div class="container">
<div class="row">
<div class="col-md-6">
<div class="thumbnail">
<div class="caption" style="margin-bottom:15px;">
<p style="font-weight:bold;">Lorem ipsum donec id elit non mi porta gravida at eget metus.</p>
<a href="google.com" target="_blank" style=""> View more </a>
</div>
<a href="https://dummyimage.com/600x400/000/fff" target="_blank" style="">
<img src="https://dummyimage.com/600x400/000/fff" alt="Lights" style="width:100%">
</a>
</div>
</div>
<div class="col-md-6">
<div class="thumbnail">
<div class="caption" style="margin-bottom:15px;">
<p style="font-weight:bold;">Lorem ipsum donec id elit non mi porta gravida at eget metus.</p>
<a href="google.com" target="_blank" style=""> View more </a>
</div>
<a href="https://dummyimage.com/600x400/000/fff" target="_blank" style="">
<img src="https://dummyimage.com/600x400/000/fff" alt="Lights" style="width:100%">
</a>
</div>
</div>
<div class="col-md-12">
<div class="thumbnail">
<div class="caption" style="margin-bottom:15px;">
<p style="font-weight:bold;">Lorem ipsum donec id elit non mi porta gravida at eget metus.</p>
<a href="google.com" target="_blank" style=""> View more </a>
</div>
<a href="https://dummyimage.com/600x400/000/fff" target="_blank" style="">
<img src="https://dummyimage.com/600x400/000/fff" alt="Lights" style="width:100%">
</a>
</div>
</div>
</div>
</div>
aber das Problem ist es ein wenig recht, links, und untere Lücke wie folgt:
Ich möchte die thumbnail cotainer Grenze mit der Bildgröße passen, gibt es eine Möglichkeit, dies zu tun?
sollten Sie die 'padding'-Tag –