Skip to content

Commit 85ef8fb

Browse files
committed
UPDATE
1 parent e72b124 commit 85ef8fb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/Introduction.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ CSS3 已完全向后兼容,所以你就不必改变现有的设计。
1010

1111
## 语法
1212

13-
selector {property:value}
13+
selector {property: value;}
1414

1515
![](../images/selector.jpg)
1616

@@ -25,7 +25,7 @@ selector {property:value}
2525
内联定义即是在对象的标记内使用对象的 style 属性定义适用其的样式表属性。
2626
示例代码:
2727

28-
```html
28+
```HTML
2929
<p style="color:#f00">这一行的字体颜色将显示为红色</p>
3030
```
3131

@@ -34,7 +34,7 @@ selector {property:value}
3434
你可以在你的 HTML 文档的`<head>`标记里插入一个`<style>`块对象。
3535
示例代码:
3636

37-
```html
37+
```HTML
3838
<style>
3939
.test2 {
4040
color: #000;
@@ -47,7 +47,7 @@ selector {property:value}
4747
你可以先建立外部样式表文件`*.css`,然后使用 HTML 的 link 对象。或者使用 `@import` 来引入。
4848
示例代码:
4949

50-
```html
50+
```HTML
5151
<!-- Use link elements -->
5252
<link rel="stylesheet" href="core.css">
5353

@@ -67,7 +67,7 @@ selector {property:value}
6767

6868
!important 作用是提高指定 CSS 样式规则的应用优先权。
6969

70-
```html
70+
```HTML
7171
<!DOCTYPE html>
7272
<html>
7373
<head>

0 commit comments

Comments
 (0)