Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

fitie

jonathantneal254CC0-1.01.0.0

An object-fit polyfill for Internet Explorer

css, styles, stylesheets, object-fit, objects, fits, old, internet, explorer, ies, polyfill, shim, shiv, contains, fills, covers, images, backgrounds

readme

fitie

NPM Version Build Status

fitie is an object-fit polyfill for Internet Explorer browsers.

The object-fit property defines how an element responds to the height and width of its content box. It’s intended for images, videos and other embeddable media formats.

To start using object-fit in Internet Explorer 8 - 11, add an object-fit property to your CSS file.

img.cover, video.cover {
    object-fit: cover;
}

Then, somewhere in the document, include a link to fitie.

<script src="fitie.js"></script>

That’s it. Enjoy!

changelog

1.0.0 (2015-11-25)

  • Added: Initial version