We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
每个属性声明后面都要加分号。
原则:整体到局部,外部到内部,重要属性优先
.element { display: block; float: left; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 100; margin: 0 100px; padding: 50px; // padding习惯写到margin后面 width: 100px; height: 100px; border: 1px solid #e5e5e5; border-radius: 3px; font: normal 13px "Helvetica Neue", sans-serif; color: #333; text-align: center; line-height: 1.5; background-color: #f5f5f5; opacity: 1; }
百度 CSS 规范指南(opens new window)
腾讯 CSS 规范指南(opens new window)
Google CSS 规范指南
The text was updated successfully, but these errors were encountered:
LingASDJ
mason369
liusxs
pLeepl
No branches or pull requests
前端 CSS 规范
分号
每个属性声明后面都要加分号。
命名
属性声明顺序
原则:整体到局部,外部到内部,重要属性优先
其他规范
参考连接
百度 CSS 规范指南(opens new window)
腾讯 CSS 规范指南(opens new window)
Google CSS 规范指南
The text was updated successfully, but these errors were encountered: