]> git.ipfire.org Git - thirdparty/foundation/foundation-emails.git/commitdiff
Add docs page for thumbnail
authorGeoff Kimball <geoff@zurb.com>
Tue, 8 Mar 2016 17:21:53 +0000 (09:21 -0800)
committerGeoff Kimball <geoff@zurb.com>
Tue, 8 Mar 2016 17:22:05 +0000 (09:22 -0800)
docs/pages/thumbnail.md [new file with mode: 0644]

diff --git a/docs/pages/thumbnail.md b/docs/pages/thumbnail.md
new file mode 100644 (file)
index 0000000..4836274
--- /dev/null
@@ -0,0 +1,14 @@
+---
+title: Thumbnail
+description: Spruce up an image tag with our thumbnail style.
+---
+
+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
+<table class="thumbnail">
+  <tr>
+    <td><img src="//placehold.it/300x300" class="thumbnail" /></td>
+  </tr>
+</table>
+```