From 78f23e4eaa5ec7a2c38021fa9988d1655e9d5ae1 Mon Sep 17 00:00:00 2001 From: familyboat <84062528+familyboat@users.noreply.github.com> Date: Thu, 17 Oct 2024 15:02:42 +0800 Subject: [PATCH] Update files/zh-cn/learn/getting_started_with_the_web/css_basics/index.md Co-authored-by: Jason Ren <40999116+jasonren0403@users.noreply.github.com> --- .../learn/getting_started_with_the_web/css_basics/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/zh-cn/learn/getting_started_with_the_web/css_basics/index.md b/files/zh-cn/learn/getting_started_with_the_web/css_basics/index.md index 6425b68991377f..27ec57c2260a32 100644 --- a/files/zh-cn/learn/getting_started_with_the_web/css_basics/index.md +++ b/files/zh-cn/learn/getting_started_with_the_web/css_basics/index.md @@ -46,7 +46,7 @@ p { 整个结构称为**规则集**(*规则集*通常简称为*规则*),注意各个部分的名称: - 选择器(Selector) - - : HTML 元素名位于规则集的开头。它选择了需要添加样式的元素(本例中就是 {{HTMLElement("p")}} 元素)。要给不同的元素添加样式,只需要更改选择器。 + - : HTML 元素名位于规则集的开头。它定义了需要添加样式的元素(本例中就是 {{HTMLElement("p")}} 元素)。要给不同的元素添加样式,只需要更改选择器。 - 声明(Declaration) - : 它是一条单独的规则,如 `color: red;`。用来指定为元素的哪个**属性**添加样式。 - 属性(Properties)