@import
processing.background
normalization according to W3C spec.--rounding-precision
to control rounding precision.QuoteScanner
class.npm run browserify
for creating embeddable version of clean-css.!important
for optimization opportunities.selectorsMergeMode
switch.@import
statements inside comments.@import
handling in EmptyRemoval
.-0
.:not()
selectors.--selectors-merge-mode
/ selectorsMergeMode
in favor to --compatibility
/ compatibility
.@import
statements.@import
s.0rem
.@import
s.@import
statements cleanup.border:none
to border:0
.import
s.@import
s correctly.@import
s inside a comment.undefined
keyword.EscapeStore
class.@import
processing to our benchmark (run via npm run bench
).--keep-line-breaks
/keepBreaks
option to keep breaks after trailing braces only.--skip-advanced
/noAdvanced
switch to disable advanced optimizations.removeEmpty
option.debug
formatting in CLIbackground:transparent
minification.@import
s inside comments.background:none
.debug
option to benchmark
when doing per-minification benchmarking.--debug
switch for minification stats.@import
with media queries.@import
processing.@import
in comments.box-shadow
zeros.@import
URLs starting with //
.
By @petetak.@import
syntax with file name not wrapped inside url()
statement.
By @bluej100.--remove-empty
& FontAwesome.bench
and test
while building npm
package.
By @sindresorhus.@import
rules.--help
.@charset
replacing.! important
.--removeempty
to --remove-empty
and from --keeplinebreaks
to --keep-line-breaks
.@charset
declarations and issue
with line break after @charset
when using keepLineBreaks
option. By @rrjaime.npm run
commands (e.g. make check
-> npm run check
).white
and other colors in class names (reported by @malgorithms).@keyframes
declaration, animation
and
animation-name
property.[data-target='x']
).font: normal
and font: bold
shortening the same way as font-weight
is.border-radius
, border-style
and border-color
shortening.margin
, padding
and border-width
shortening.make check
.rect(...)
syntax (clip property).keepBreaks
/-b
option to keep line breaks in the minimized file.--s0
and --s1
options).keepSpecialComments
option).-v
option (version).CleanCSS#process
directly was giving
errors (reported by @facelessuser).make bench
for a one-pass benchmark.process.stdout
.0 0 0 0
expressions.+
signs in calc()
when mixed up with adjacent +
selector.calc
/-moz-calc
declarations
(thanks to @cvan for reporting it).#f00
to red
in borders and gradients.none
to 0
in partial/full background
declarations.border
property.!important
keyword.