Skip to content
This repository has been archived by the owner on Feb 25, 2018. It is now read-only.

Commit

Permalink
Warn users about usage.
Browse files Browse the repository at this point in the history
This fixes #47.
  • Loading branch information
anselmh committed Jan 6, 2016
1 parent f0515ed commit 71303f1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

This is a headless polyfill for the CSS `object-fit` property which defines the sizing mode for content images (similar to background-size for CSS background sources).

----

## NOTICE: DEPRECATED / Non-Functional

Please note that as Microsoft Edge does not support a good way to [get matching CSS rules](https://github.com/anselmh/object-fit/issues/45), and there are a couple of [other issues](https://github.com/anselmh/object-fit/issues) that aren’t likely to be fixed, this polyfill is of limited benefit for most projects as all other browser vendors support `object-fit` natively now.

----

## The Webstandard

The specification for `object-fit` is to be found at [W3C CSS3 Images](http://www.w3.org/TR/css3-images/#the-object-fit). The property scales the image to fit in a certain way into a defined area, e.g:
Expand Down

0 comments on commit 71303f1

Please sign in to comment.