-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add translation for @scope #26308
base: main
Are you sure you want to change the base?
add translation for @scope #26308
Conversation
Preview URLs External URLs (1)URL:
(comment last updated: 2025-03-11 07:09:40) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
格式有问题,参见其他已有的 @-rules 的翻译先自己看看改一下吧:)
|
||
{{CSSRef}} | ||
|
||
**`@scope`** [CSS](/zh-CN/docs/Web/CSS) [@规则](/zh-CN/docs/Web/CSS/CSS_syntax/At-rule) 能够让你选中特定的 DOM 子树中的元素,无需编写过于具体的难以覆盖的选择器就能准确地定位元素,也不用将选择器与 DOM 结构紧密地耦合。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
**`@scope`** [CSS](/zh-CN/docs/Web/CSS) [@规则](/zh-CN/docs/Web/CSS/CSS_syntax/At-rule) 能够让你选中特定的 DOM 子树中的元素,无需编写过于具体的难以覆盖的选择器就能准确地定位元素,也不用将选择器与 DOM 结构紧密地耦合。 | |
**`@scope`** [CSS](/zh-CN/docs/Web/CSS) [@ 规则](/zh-CN/docs/Web/CSS/CSS_syntax/At-rule)能够让你选中特定的 DOM 子树中的元素,无需编写过于具体的难以覆盖的选择器就能准确地定位元素,也不用将选择器与 DOM 结构紧密地耦合。 |
|
||
**`@scope`** [CSS](/zh-CN/docs/Web/CSS) [@规则](/zh-CN/docs/Web/CSS/CSS_syntax/At-rule) 能够让你选中特定的 DOM 子树中的元素,无需编写过于具体的难以覆盖的选择器就能准确地定位元素,也不用将选择器与 DOM 结构紧密地耦合。 | ||
|
||
在 JavaScript 中,可以通过 CSS 对象模型接口 {{DOMxRef("CSSScopeRule")}} 访问 `@scope` 。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
在 JavaScript 中,可以通过 CSS 对象模型接口 {{DOMxRef("CSSScopeRule")}} 访问 `@scope` 。 | |
在 JavaScript 中,可以通过 CSS 对象模型接口 {{DOMxRef("CSSScopeRule")}} 访问 `@scope`。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
还是有与 #26307 类似的问题,请确保主分支只包含来自上游的提交,然后再基于主分支创建新的分支,并贡献新的内容
Description
add translation for @scope
Motivation
Additional details
Related issues and pull requests