CSS代码格式化 CSS Beautify
jopen
12年前
CSS Beautify 是一个 JavaScript 实现的用来对 CSS 代码进行格式化使之更加容易阅读的工具。
- Only one blank line between two rulesets
- Closed curly brace is at its own line
- There is no empty line between declarations inside a ruleset
- No space between the property name and colon
- One space between colon and the property value
- Comments are preserved