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 ) });
Yet another jQuery plugin that automatically scales, crop any elements to cover their parent container similar to the CSS background-size: cover attribute.
ResizeA jQuery plugin to make any html element behave like css background-size: cover
$('.js-scaleThis').coverFit({ ratio: 1.3333, // aspect ratio to keep ( width / height ) });