CSS counter-increment Property
A approach to number segments and sub-segments with "Section 1", "1.1", "1.2", etc.:
content: "Section " counter(section) ". ";
content: counter(section) "." counter(subsection) " ";
Definition and Usage
The counter-increase property increases at least one counter values.
The counter-increase property is generally utilized together with the counter-reset property and the substance property.
The numbers in the table determine the principal program form that completely underpins the property.
|none||Default esteem. No counters will be incremented|
|id number||The id characterizes which counter that ought to be increased. The number sets how much the counter will increase on every event of the selector. The default addition is 1. 0 or negative values, are permitted. On the off chance that the id alludes to a counter that has not been instated by counter-reset, the default starting worth is 0|
|initial||Sets this property to its default esteem. Read about initial|
|inherit||Inherits this property from its parent component. Read about inherit|