caoge c760052ff9 机车状态修改 | 8 bulan lalu | |
---|---|---|
.. | ||
dist | 8 bulan lalu | |
node_modules | 8 bulan lalu | |
LICENSE-MIT | 8 bulan lalu | |
README.md | 8 bulan lalu | |
package.json | 8 bulan lalu |
Merge CSS rules with PostCSS.
With npm do:
npm install postcss-merge-rules --save
This module will attempt to merge adjacent CSS rules:
a {
color: blue;
font-weight: bold
}
p {
color: blue;
font-weight: bold
}
a,p {
color: blue;
font-weight: bold
}
a {
color: blue
}
a {
font-weight: bold
}
a {
color: blue;
font-weight: bold
}
a {
font-weight: bold
}
p {
color: blue;
font-weight: bold
}
a,p {
font-weight: bold
}
p {
color: blue
}
See the PostCSS documentation for examples for your environment.
See CONTRIBUTORS.md.
MIT © Ben Briggs