CSS

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

CSS3 Quiz

CSS3 Exercise

CSS Properties

CSS Functions

CSS Selectors

CSS counter reset Property

CSS counter-reset Property

 

 

The counter-reset property is used to create or reset one or more CSS counters. It is usually used together with the counter-increment property and the content property.

 

Default Value:-

 

Its default value is none.

 

Syntax:-

 

Its syntax is:- counter-reset: none | name number | initial | inherit;

 

Further Explanation:-

 

Value Description
none No counters will be reset
id number The id defines which counter to reset. The number sets the value the counter is reset to 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