postcss-merge-border-radius
v1.0.1
Published
A postcss plugin for merging long-form border-radius rules.
Downloads
292
Readme
postcss-plugin-merge-border-radius
A PostCSS plugin that collapses long-hand border-radius properties.
Installing & Usage
npm install --save-dev postcss-plugin-merge-border-radius
Then follow the PostCSS instructions for installing plugins.
Examples
Input:
.some-class {
border-top-left-radius: 10px;
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
}
Output:
.some-class {
border-radius: 10px;
}