Adding a demo link

This commit is contained in:
Luke Evers 2015-07-01 12:36:07 -04:00
parent f59b874962
commit 21973f23ad

View file

@ -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