What minifying removes
Minifying CSS strips every character a browser does not need: comments, line breaks, indentation, and the spaces around braces, colons, semicolons and commas. The rules and values are untouched, so the page renders identically — it just downloads faster.
Because CSS is whitespace-insensitive between tokens, removing it is safe. The minifier also drops the final semicolon before each closing brace, which the spec allows, shaving a few more bytes off large files.
Worked example
The rule on the left collapses to the compact form on the right:
.card { color: #333; padding: 16px 20px; }.card{color:#333;padding:16px 20px}What it keeps safe
The minifier preserves strings, url() values and the meaningful single spaces inside multi-value properties like margin: 0 auto or font: 14px/1.5 sans-serif, where the space separates real values. It only collapses insignificant whitespace, so your styles behave exactly the same. Everything is processed locally, so proprietary stylesheets never leave your browser.