Merging
NAME
CSS::Minifier::Plugin::Merging ā ruleset merging for the CSS minifier
DESCRIPTION
Performs two types of structural merging at level 2:
Same-declaration merging ā adjacent rulesets with identical declarations have their selectors combined (e.g.
h1{color:#F00}h2{color:#F00}āh1,h2{color:#F00}). Custom properties act as a barrier; rulesets containing them are not merged.Same-selector merging ā adjacent rulesets with identical selectors have their declarations merged. Custom property declarations are preserved verbatim rather than overwritten.
AUTHOR
Sasha Abbott <[email protected]>
COPYRIGHT AND LICENSE
This library is free software; you can redistribute it and/or modify it under CC0.