CSS Counter Styles

CSS 计数器样式 is 是一个让你自定义计数器样式的 CSS 模块。

参考

属性

At-rules

指南

使用 CSS 计数器

描述如何使用计数器来给 HTML 元素计数,或者执行复杂的计数

规范

Specification
CSS Counter Styles Level 3
# the-counter-style-rule
CSS Lists and Counters Module Level 3
# increment-set
CSS Lists and Counters Module Level 3
# counter-reset

浏览器兼容性

css.at-rules.counter-style

BCD tables only load in the browser

css.properties.counter-increment

BCD tables only load in the browser

css.properties.counter-reset

BCD tables only load in the browser