622 B
622 B
title | description | published |
---|---|---|
Thumbnail | Spruce up an image tag with our thumbnail style. | false |
The .thumbnail
class can be applied directly to an <img>
element, or an <a>
that wraps it. Make sure the <img>
has an alt attribute that describes the contents of the image.
The thumbnail style adds padding and a box shadow to an image. To use it, just add the class .thumbnail
to an image element.
<img src="http://placehold.it/200x200" class="thumbnail">