From 1269ba9bb27f208d13ec792d8dbe3c3f5476b6b2 Mon Sep 17 00:00:00 2001 From: Jason Lee Date: Wed, 26 Jan 2022 15:37:51 +0800 Subject: Correct copywriting for files/zh-cn/web/html/* except element. Ref: #3490 #3834 --- files/zh-cn/web/html/global_attributes/part/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'files/zh-cn/web/html/global_attributes/part') diff --git a/files/zh-cn/web/html/global_attributes/part/index.html b/files/zh-cn/web/html/global_attributes/part/index.html index ba309b028f..6a0b8f9aef 100644 --- a/files/zh-cn/web/html/global_attributes/part/index.html +++ b/files/zh-cn/web/html/global_attributes/part/index.html @@ -5,7 +5,7 @@ translation_of: Web/HTML/Global_attributes/part ---
{{HTMLSidebar("Global_attributes")}}
-

part 全局属性 包含一个以元素中part属性名称组成的列表,该列表以空格分隔。通过Part 的名称,可以使用CSS伪元素“::part”来选择shadow 树中指定元素并设置其样式 。

+

part 全局属性 包含一个以元素中 part 属性名称组成的列表,该列表以空格分隔。通过 Part 的名称,可以使用 CSS 伪元素“::part”来选择 shadow 树中指定元素并设置其样式 。

参见用例 Shadow part 实例.

-- cgit v1.2.3-54-g00ecf