File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed
Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change 11# css-spring 🚀
2+
23[ ![ NPM Version] ( https://img.shields.io/npm/v/css-spring.svg?style=flat&label=NPM%20Version )] ( http://npm.im/css-spring )
34[ ![ Build Status] ( https://img.shields.io/travis/codepunkt/css-spring.svg?style=flat&label=Build%20Status )] ( https://travis-ci.org/codepunkt/css-spring )
45[ ![ Code Coverage] ( https://img.shields.io/coveralls/codepunkt/css-spring.svg?style=flat&label=Code%20Coverage )] ( https://coveralls.io/github/codepunkt/css-spring?branch=master )
56[ ![ MIT License] ( https://img.shields.io/npm/l/css-spring.svg?style=flat&label=License )] ( http://opensource.org/licenses/MIT )
67
78Generates physics based css-keyframe animations.
89
9- ``` javascript
10+ <table >
11+ <tr >
12+ <td >
13+ <pre lang =" javascript " >
1014import spring, { format } from 'css-spring'
1115
1216const keyframes = spring(
@@ -19,9 +23,13 @@ const moveLeft = format(
1923 keyframes,
2024 format.PX_FORMATTER
2125)
22- ```
23-
24- ![ Example image] ( https://raw.githubusercontent.com/codepunkt/css-spring/master/example.gif )
26+ </pre >
27+ </td >
28+ <td >
29+ <img src =" https://raw.githubusercontent.com/codepunkt/css-spring/master/example.gif " alt =" css-spring example " />
30+ </td >
31+ </tr >
32+ </table >
2533
2634## TOC
2735
You can’t perform that action at this time.
0 commit comments