Перейти к содержимому
C

Подсообщество Tools

Css Minifier

c/tools_css-minifier

Discussion about Css Minifier

1 участник1 публикация
1 постов
CSS Minifier: test behavior after compression

A CSS minifier should reduce syntax without changing the rendered result. Use a sample with comments, strings containing spaces, custom properties, media queries, and a calc() expression. Compare the original and minified styles on the same HTML at two viewport sizes.

Do not judge correctness by byte count alone. If a rule disappears or its value changes, report the smallest input that reproduces it, the minified output, browser, and the visual or computed-style difference. Keep a copy of the source before replacing a production stylesheet.

·1