此页面由社区从英文翻译而来。了解更多并加入 MDN Web Docs 社区。

View in English Always switch to English

CSSScopeRule:start 属性

Baseline 2025
Newly available

Since ⁨December 2025⁩, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.

CSSScopeRule 接口的 start 属性返回包含 @scope at-规则的范围根的值的字符串。

字符串。如果 @scope at-规则没有定义范围根,则为 null

示例

参见 CSSScopeRule 主页以获取示例。

规范

Specification
CSS Cascading and Inheritance Level 6
# dom-cssscoperule-start

浏览器兼容性

参见