CSS minifier
Processed in your browser · nothing is uploaded
Removes comments and every unnecessary space, and drops the semicolon before each closing brace. Values and selector order are left exactly as they are.
How to use the css minifier
The safe transformations are the boring ones, and they are most of the win: whitespace around braces, colons and commas is never significant, comments never affect rendering, and the last semicolon in a block is optional. Everything beyond that requires understanding the cascade. Merging `.a{color:red}` and `.a{padding:0}` looks obviously safe and is not, because something between them may override one of the two. This stops at the safe line, which is why its output is smaller than the input and never behaves differently.
Questions
Comments, unnecessary whitespace, and the semicolon before each closing brace. Nothing else.