1.0.3 • Published 7 years ago

postcss-size-nib v1.0.3

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

PostCSS Size nib Build Status

PostCSS plugin that allows the use of "size:" instead of width & height.

.foo {
    size: 10px;
}
.bar {
    size: 5px 10px;
}
.foo {
    width: 10px;
    height: 10px;
}
.bar {
    width: 5px;
    height: 10px;
}

Usage

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

See PostCSS docs for examples for your environment.