css-longhand
Expand CSS shorthands.
Why?
For HTML E-maliers.
Install
$ npm install --save css-longhand
Supported CSS properties:
-
margin
-
padding
-
border
Usage
var cssLonghand = ;;
Example:
Pass to cssLonghand
will result in:
TODO:
-
Re-implement with streams (find the comment in the code)
-
Support more CSS properties.
License
MIT © hemanth.hm