From 0a0ec21807d7d486fc80e5027cd2b65b929f6b6c Mon Sep 17 00:00:00 2001 From: Luke Evers Date: Wed, 1 Jul 2015 12:36:07 -0400 Subject: [PATCH] Adding a demo link --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 1f094c0..4e6be52 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,8 @@ A JavaScript plugin to contain an element within its parent element. The plugin scales an element to the minimum size required for it to be completely contained within its parent, and retains its original aspect ratio by cropping portions that don't fit based on its vertical and horizontal alignment (by default both are set to: `middle`). +[Demo](https://github.com/WilliamsNY/contain-element) + ## Features * Pure JavaScript with no dependencies