Foundation

Thumbnail

Spruce up an image tag with our thumbnail style.

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.

HTML
<img src="https://placehold.it/200x200" class="thumbnail">
<html>

<head></head>

<body><img src="https://placehold.it/200x200" class="thumbnail"></body>

</html>

DEMO