Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 8-web-components/6-shadow-dom-style/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ customElements.define('user-card', class extends HTMLElement {
}
```

此外,`::sloated` 只能在 CSS 中使用,不能在 `querySelector` 中使用。
此外,`::slotted` 只能在 CSS 中使用,不能在 `querySelector` 中使用。

## 用自定义 CSS 属性作为勾子

Expand Down