jQuery fillparent

jQuery plugin to make a dom element fill its parent, keeping its original ratio.

View the Project on GitHub tilap/jquery-fillparent

What's that?

jQuery fillparent plugin is a really basic plugin that force a dom element to have the same size as the parent, keeping ots original ratio (overflowing the parent).

Usefull for image cover style as a css3 fallback.

And a fast test for me to publish on bower.

Install

Just call the jquery and jquery.fillparent.min.js javascript file in your html.

Then read the package README file.