The counter-reset
property sets a variable that will store the display counter of a particular element, as well as the initial value of the counter.
Such a counter can be displayed using the content
property and the ::after
and ::before
pseudo-elements.
counter-reset: [ custom-ident integer? ]+ | none;