Search and jump to any tool. Type to filter; use arrow keys to move and Enter to select.
The CSS minifier compresses a stylesheet by deleting comments, line breaks and the spaces that CSS does not need, such as those around braces, semicolons, commas and combinators.
The CSS minifier compresses a stylesheet by deleting comments, line breaks and the spaces that CSS does not need, such as those around braces, semicolons, commas and combinators. It keeps the spaces that carry meaning, so a descendant selector and a calc() sum survive intact. Use it for a quick production copy of a stylesheet or snippet when no bundler is involved.
/* nav */
.nav a :hover , .nav > li {
width: calc( 100% - 2 * 8px );
color : #fff ;
}.nav a :hover,.nav>li{width:calc(100% - 2 * 8px);color:#fff}Good to know. The tool reads the stylesheet token by token, so it copes with nested rules, media queries and attribute selectors. It does not validate your CSS, and a syntax error in the input is carried through to the output.