Skip to content

Commit 612be0e

Browse files
committed
修改filename rules
修改filename rules
1 parent 3486a58 commit 612be0e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,12 +131,18 @@
131131
.m-detail-bd{ sRules; }
132132
.m-detail-ft{ sRules; }
133133

134-
> 那么该模块的文件名应该为:`m-detal.css`
134+
> 那么该模块的文件名应该为:`m-detail.css`
135135
136136
* CSS页面文件,其文件名必须与HTML文件名一致;
137137

138138
> 假定有一个HTML页面叫 `product.html`,那么其相对应的CSS页面文件名应该为:`product.css`
139139
140+
> 假定现在有一个 `product.html`,里面有2个模块:
141+
142+
+<section class="m-list">
143+
+<section class="m-info">
144+
145+
那么开发人员能快速找到与该页面相关的3个直接CSS文件,包括:`product.css`, `m-list.css`, `m-info.css`
140146

141147
<a name="indentation"></a>
142148
### 4.缩进

0 commit comments

Comments
 (0)