Skip to content

포매터 및 코드

CSS 포맷터

무료 CSS 포맷터 및 축소기. Prettier의 기본값으로 보기 흉한 CSS를 보기 좋게 인쇄하거나, 주석과 공백을 제거하여 가장 작은 스타일시트를 만듭니다. Sass 스타일 선택기를 포함한 모든 CSS에 대해 브라우저에서 작동합니다.

Runs in your browser
CSS formatter & validator
lines: 0chars: 0size: 0 B
CSS · UTF-8 · 2-space indent

편집자 노트

Understanding · CSS, but neat.

이 심층 챕터는 현재 영어로만 제공됩니다. 위의 변환 도구는 귀하의 언어로 작동하지만, 긴 설명 글은 아직 번역되지 않았습니다.

자주 묻는 질문

Quick answers.

Can it format Sass or nested CSS?

Yes — Prettier's PostCSS parser handles modern CSS features including nesting, custom properties, container queries, @supports, and more.

Is the minifier production-grade?

It's good for shipping small-to-medium stylesheets: strips comments, collapses whitespace, tightens syntax. For maximum compression (colour rewrites, shorthand collapsing) you want a dedicated tool like csso or Lightning CSS in your build pipeline.

Will it break my @media or @supports queries?

No — those are preserved and pretty-printed the same way Prettier does in an IDE.

Is my CSS sent to a server?

No — everything runs in your browser.

사람들이 다음도 검색합니다.

관련 도구

More in this room.

모두 보기 포매터 및 코드