lhl 6ff0e96ad3 8-4-1 | 1 år sedan | |
---|---|---|
.. | ||
dist | 1 år sedan | |
node_modules | 1 år sedan | |
LICENSE-MIT | 1 år sedan | |
README.md | 1 år sedan | |
package.json | 1 år sedan |
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