CSS counter-increment Property Reference

The CSS counter-increment property is a standard property in CSS Lists and Counters. Review its formal syntax, computed behavior, and practical declarations.

CSS counter-increment Property Reference

The CSS counter-increment property is a standard property in CSS Lists and Counters. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

counter-increment overview

The CSS counter-increment property is a standard property in CSS Lists and Counters. Review its formal syntax, computed behavior, and practical declarations.

The property is not inherited by default. Use an explicit global keyword when inheritance is intended.

Syntax and formal definition

counter-increment formal syntax
FieldValue
Formal syntax[ <counter-name> <integer>? ]+ | none
Initial valuenone
Applies toallElements
InheritedNo
Percentagesno
Computed valueasSpecified
Animation typebyComputedValueType
Mediaall
Specification groupCSS Lists and Counters
StatusStandard

Practical examples

These declarations demonstrate valid ways to set counter-increment. The initial and inherit global keywords remain available even when a property-specific value is preferable.

counter-increment live example
CSS .reset-example { counter-increment: initial; } .inherit-example { counter-increment: inherit; } @supports (counter-increment: initial) { .supported { counter-increment: initial; } }

Description

The CSS counter-increment property is a standard property in CSS Lists and Counters. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: counter-increment
  2. MDN: CSS Properties Reference

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies