/postcss-size

PostCSS plugin for size shortcut

Primary LanguageJavaScriptMIT LicenseMIT

PostCSS Size Build Status

PostCSS plugin for size shortcut to set width and height properties.

.two {
    size: 20px 10px;
}
.one {
    size: 10px;
}
.two {
    width: 20px;
    height: 10px;
}
.one {
    width: 10px;
    height: 10px;
}

Usage

postcss([ require('postcss-size') ])

See PostCSS docs for examples for your environment.