这个工具做什么?
| 直接答案 | CSS 美化器扩展规则,使每个声明单独位于一行并缩进。 |
| 关键事实 | 美化器在块中的最后一个声明后添加可选的尾部分号。 |
| 处理 | 在您的浏览器中本地运行;不会将数据发送到服务器。 |
如何使用
- 将 CSS 粘贴到输入框中。\n点击美化 CSS。\n复制格式化的样式表。
Who is this for?
This tool was built for people who need a fast answer in the browser — no install, no account, no data leaving the device.
Developers formatting API responses or config files, analysts inspecting minified payloads, and students learning structured data formats. If you have ever squinted at a one-line blob hoping to find a missing brace, this page is for you.
常见问题
它会保留字符串和注释吗?
是的 — url() 和 /* 注释 */ 中的内容字符串保持不变。
它能处理嵌套的 at-rules 吗?
是的,媒体查询和其他块正确地增加了缩进深度。
输出在语义上是否相同?
是的,只添加空白(和可选的最终分号);级联保持不变。