Answer the question
In order to leave comments, you need to log in
"Smart" CSS minification?
Grouping identical properties and values into the same selectors, etc.
Answer the question
In order to leave comments, you need to log in
Lossless is tricky, as the order of selectors in CSS sometimes matters, as long as they have the same specificity. After all, the minifier does not see the HTML code and does not know how much your selectors intersect with each other. Here it is only safe to combine only those that go directly after each other, but this very rarely happens in life.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question