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 1
1
# css-spring 🚀
2
+
2
3
[ ![ NPM Version] ( https://img.shields.io/npm/v/css-spring.svg?style=flat&label=NPM%20Version )] ( http://npm.im/css-spring )
3
4
[ ![ Build Status] ( https://img.shields.io/travis/codepunkt/css-spring.svg?style=flat&label=Build%20Status )] ( https://travis-ci.org/codepunkt/css-spring )
4
5
[ ![ 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 )
5
6
[ ![ MIT License] ( https://img.shields.io/npm/l/css-spring.svg?style=flat&label=License )] ( http://opensource.org/licenses/MIT )
6
7
7
8
Generates physics based css-keyframe animations.
8
9
9
- ``` javascript
10
+ <table >
11
+ <tr >
12
+ <td >
13
+ <pre lang =" javascript " >
10
14
import spring, { format } from 'css-spring'
11
15
12
16
const keyframes = spring(
@@ -19,9 +23,13 @@ const moveLeft = format(
19
23
keyframes,
20
24
format.PX_FORMATTER
21
25
)
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 >
25
33
26
34
## TOC
27
35
You can’t perform that action at this time.
0 commit comments