group-css-properties
v1.0.2
Published
css属性组合
Downloads
4
Readme
Group CSS Properties
shout to johnie;
对crip-css-properties的延伸添加了组合简写;
Usage
$ npm install --save group-css-properties
/**
* Getting Group CSS Properties
*
* @return {object}
*/
var CSS = require('group-css-properties');
List of all available css abbreviations
faflc
: ["family", "font-size", "line-height", "color"],fc
: ["font-size", "color"],fcb
: ["font-size", "color", "font-weight"],flc
: ["font-size", "line-height", "color"],flcb
: ["font-size", "line-height", "color", "font-weight"],flh
: ["font-size", "line-height", "height"],hflh
: ["height", "font-size", "line-height"],hflc
: ["height", "font-size", "line-height", "color"],hflcb
: ["height", "font-size", "line-height", "color", "font-weight"],hl
: ["height", "line-height"],mawh
: ["max-width", "max-height"],miwh
: ["min-width", "min-height"],mmh
: ["min-height", "max-height"],mmw
: ["min-width", "max-width"],mlr
: ["margin-left", "margin-right"],mtb
: ["margin-top", "margin-bottom"],plr
: ["padding-left", "padding-right"],ptb
: ["padding-top", "padding-bottom"],wh
: ["width", "height"],whfl
: ["width", "height", "font-size", "line-height"],whflc
: ["width", "height", "font-size", "line-height", "color"],whflcb
: ["width", "height", "font-size", "line-height", "color", "font-weight"],whl
: ["width", "height", "line-height"],wl
: ["width", "line-height"]