The counter-increment CSS property increases or decreases the value of one or more CSS counters. It’s commonly used with the content property to create numbered content or navigation. The property can accept an identifier, which is the name of the counter, and an integer, which indicates by how much the counter should be incremented.

For example, counter-increment: section; will increment a counter named “section” by 1 each time it is invoked.