我想要有不同大小和不同文本数量的图像缩略图.但我希望它们都具有相同的尺寸.就像Bootstrap网站上的这个例子一样.
下面是我目前的代码,在jsFiddle上有一个演示.
我有不同的图像大小,所以这会被打破.Bootstrap有可能吗?
<div class="col-sm-6 col-md-4">
<div class="thumbnail">
<h3>
Fading a RGB LED on BeagleBone Black
</h3><img src="https://learn.adafruit.com/system/guides/images/000/000/322/medium310/overview_web.jpg?" alt="Sample Image">
<div class="caption">
<p>In this tutorial, you will learn how to control the color of an RGB LED using a BeagleBone Black and Python.</p>
</div>
</div>
</div>
<div class="col-sm-6 col-md-4">
<div class="thumbnail">
<h3>
Measuring Light with a BeagleBone Black
</h3><img src="https://learn.adafruit.com/system/guides/images/000/000/316/medium310/overview_web.jpg?" alt="Sample Image">
<div class="caption">
<p>In this tutorial, you will learn how to …Run Code Online (Sandbox Code Playgroud)