🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

Yet another jQuery plugin that automatically scales, crop any elements to cover their parent container similar to the CSS background-size: cover attribute.

Resize

Documentation

coverfit

A jQuery plugin to make any html element behave like css background-size: cover

usage

$('.js-scaleThis').coverFit({   ratio: 1.3333, // aspect ratio to keep ( width / height ) });

You May Also Like