breakWith
option via a string.process
method for compatibility with optimize-css-assets-webpack-plugin.transition
property optimizer.font-variation-settings
quoting.font
shorthand.efficiency
stat.@import
s referenced from local ones.0%
minification of width
property.@page
according to CSS3 spec.@font-face
rules.-ms-grid-columns
repeat syntax.@apply
at rule.font
keywords.animation
.!important
.border-*
shorthands.font
property optimizer.inherit
-based merging.animation
property optimizer.inline: false
as alias to inline: 'none'
.minify
method signature.@apply
at rule.hsl
zero percent eager optimization.@supports
.font-feature-settings
.require
arity.inline
option.benchmark
API option as total time is always reported under stats
property.debug
API switch as stats are always gathered and available under stats
property.@import
inlining with one on top of the new tokenizer.background-(clip|origin|size)
merging with background
shorthand.rebaseTo
option in API or inferred from --output
in CLI.inliner
option into inlineRequest
and inlineTimeout
.format
flag.width
overriding.@import
inlining by default.@font-face
de-duplication.@media
blocks.@import
inlining.off
disable rounding.px
rounding by default.-chrome-
hack support.0
optimizations.minify
to return a promise.transform
callback for custom optimizations.@apply
at-rule.-webkit-border-radius
optimizations.@import
at-rules if appearing after any non-@import
rules.@media
queries.:selection
rule merging.!important
and override compacting.background-(position|size)
.!important
.url
quoting with hash arguments.!important
.@import
control.import
s.0%
optimizations.media
merging.outline
break up with source maps.bold
style in font shorthands.flex
.@import
processing.background:inherit
restoring.target
.background-clip
into shorthand.background-origin
into shorthand.@import
processing.border
reordering.background:inherit
restoring.border
reordering.contentSources
tracking.outline-style:auto
in shorthand.@font-face
stringifying.root
option implicitely default to process.cwd()
.background
fallback with none
.0[unit]
-> 0
.list-style
fuzzy matching.source-map
to 0.4.x.background
.url()
quotes.calc()
.@import
inlining.)
advanced processing.AlphaImageLoader
IE filter.@import
s order in restructuring.0deg
to 0
minification where possible.@media
merging.@import
s after content.minify
argument.background-clip
in shorthand.background-origin
in shorthand.nav
.@import
URLs.!important
in shorthands.calc
.calc
as a unit.--source-map
/sourceMap
switch for building input's source map.--skip-shorthand-compacting
/shorthandComacting
option for disabling shorthand compacting.target
option to be a path to a folder instead of a file.minify
method output to handle multiple outputs.noAdvanced
option into advanced
.noAggressiveMerging
option into aggressiveMerging
.noRebase
option into rebase
.background-size
into shorthand.rem
units overriding px
.background
shorthand merging.background-size
merging.background-position
merging.background-position
merging.background
shorthand merging.*+html
hack.!important
overriding in shorthands.rgba
/hsla
minification.!important
by !important
.@import
processing.font
shorthands incorrectly processed.background
shorthand with colors.background-size
regression.background-color
in multiple backgrounds.background-size
support.@charset
declarations.background
normalization according to W3C spec.background
processing.rgba
/hsla
-> transparent
in gradients.border-width
.border-radius
processing.outline-style: auto
.box-shadow
zeros minification.rgba
/hsla
in IE<=11.--rounding-precision
to control rounding precision.QuoteScanner
class.npm run browserify
for creating embeddable version of clean-css.!important
for optimization opportunities.selectorsMergeMode
switch.rgba
/hsla
to transparent
if possible.@
symbols in class names and IDs.@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.rgb
to hex
transforms.@import
statements cleanup.border:none
to border:0
.import
s.@page
and @viewport
.@import
s correctly.@import
declaration.font
/animation
names.@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.keepSpecialComments
0
/1
as a string.background:none
.font
property.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.