CSS 计数器样式
Baseline 2023
Newly available
Since September 2023, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.
CSS 计数器样式模块允许自定义计数器样式,可以用于 CSS 列表标记与生成内容计数器。
接口
CSSCounterStyleRule
-
表示一个
@counter-style
规则。
规范
Specification |
---|
CSS Counter Styles Level 3 # the-csscounterstylerule-interface |
浏览器兼容性
BCD tables only load in the browser