skill-assessment-app/vendor/assets/foundation-emails/docs/pages/thumbnail.md

20 lines
622 B
Markdown
Raw Normal View History

---
title: Thumbnail
description: Spruce up an image tag with our thumbnail style.
published: 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.
```inky_example
<img src="http://placehold.it/200x200" class="thumbnail">
```
<!-- <table class="thumbnail">
<tr>
<td><img src="//placehold.it/300x300" class="thumbnail" /></td>
</tr>
</table> -->