CSS Intro

CSS Intro Quiz

CSS Intro Exercise

CSS Basic

CSS Basic Quiz

CSS Basic Exercise

CSS Advance

CSS Advance Quiz

CSS Advance Exercise


CSS3 Quiz

CSS3 Exercise

CSS Properties

CSS Functions

CSS Selectors

CSS counter increment Property

CSS counter-increment Property



The counter-increment property is used to either increase or decrease the value of one or more CSS counters. It is usually used together with the counter-reset property and the content property.


Default Value:-


Its default value is none.




Its syntax is:- counter-increment: none | id | initial | inherit;


Further Explanation:-


Value Description
none No counters will be incremented
id number The id defines which counter to increment. The number sets how much the counter will increment on each occurrence of the selector.
initial Sets this property to its default value.
inherit Inherits this property from its parent element.

Code Explanation

All Tutorials related to CSS Properties

All Sections related to CSS