Skip to content

Commit ed3f429

Browse files
committed
Update README.md
1 parent 11486c8 commit ed3f429

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,9 @@
115115
### 注释
116116

117117
* 建议使用行注释 (在 Sass 中是 `//`) 代替块注释。
118-
* 建议在当行给代码写注释。避免行末注释。
119-
* 为代码作详细的注释,而不是写自述文档,比如:
120-
- z-index 的作用
118+
* 建议注释独占一行。避免行末注释。
119+
* 给没有自注释的代码写上详细说明,比如:
120+
- 为什么用到了 z-index
121121
- 兼容性处理或者针对特定浏览器的 hack
122122

123123
<a name="oocss-and-bem"></a>

0 commit comments

Comments
 (0)