首页
Tom Utilities

每行一个属性、缩进一致地美化 CSS。

输入

结果

使用方法

How to format CSS

Paste CSS and press Format. Each declaration is placed on its own line.

  1. Paste CSS into the input editor.
  2. Press Format.
  3. Copy the beautified stylesheet.

常见问题

Are comments kept?

Yes, CSS comments are preserved in the formatted output.

Does it support media queries?

Yes, nested at-rules such as media queries are indented correctly.