Skip to content

Commit

Permalink
feat: fetch properties from mdn-data
Browse files Browse the repository at this point in the history
  • Loading branch information
apasov committed Apr 7, 2020
1 parent eb7407d commit 9026f01
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 166 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

List of animatable CSS properties for use with [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API), JavaScript and CSS.

It is based on the [MDN animatable CSS properties list](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_animated_properties) minus vendor-prefixed properties.
It is based on the [MDN animatable CSS properties list](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_animated_properties) minus vendor-prefixed properties. The properties are fetched from [mdn-data](https://www.npmjs.com/package/mdn-data).

For use with Web Animations API "float" must be written as "cssFloat" and "offset" as "cssOffset". [Reference](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API/Keyframe_Formats)

Expand Down
2 changes: 1 addition & 1 deletion dist/animatable.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9026f01

Please sign in to comment.