File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 1
- # reduce-css-calc [ ![ Build Status] ( https://travis-ci.org/MoOx/reduce-css-calc.png )] ( https://travis-ci.org/MoOx/reduce-css-calc )
1
+ # reduce-css-calc
2
+
3
+ [ ![ Build Status] ( https://travis-ci.org/MoOx/reduce-css-calc.svg )] ( https://travis-ci.org/MoOx/reduce-css-calc )
2
4
3
5
> Reduce CSS calc() function to the maximum.
4
6
@@ -7,7 +9,7 @@ Particularly useful for packages like [rework-calc](https://github.com/reworkcss
7
9
## Installation
8
10
9
11
``` console
10
- $ npm install reduce-css-calc
12
+ npm install reduce-css-calc
11
13
```
12
14
13
15
## Usage
@@ -56,15 +58,17 @@ reduceCSSCalc("-moz-calc(50% - 2em)")
56
58
57
59
See [ unit tests] ( src/__tests__/index.js ) for others examples.
58
60
61
+ ---
62
+
59
63
## Contributing
60
64
61
65
Work on a branch, install dev-dependencies, respect coding style & run tests before submitting a bug fix or a feature.
62
66
63
67
``` console
64
- $ git clone https://github.com/MoOx/reduce-css-calc.git
65
- $ git checkout -b patch-1
66
- $ npm install
67
- $ npm test
68
+ git clone https://github.com/MoOx/reduce-css-calc.git
69
+ git checkout -b patch-1
70
+ npm install
71
+ npm test
68
72
```
69
73
70
74
## [ Changelog] ( CHANGELOG.md )
You can’t perform that action at this time.
0 commit comments