Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

counter-set

3 tags 1 category

The counter-set CSS property sets CSS counters on the element to the given values.

If the counters don’t exist the counter-set property creates a new counter for each named counter in the list of space-separated counter and value pairs. However, to create a new counter it is recommended to use the counter-reset CSS property.

If a named counter in the list is missing a value, the value of the counter will be set to 0.

Note: The counter’s value can be incremented or decremented using the counter-increment CSS property.

Values: This property is specified as either a space-separated list of <custom-ident> values, each optionally followed by an <integer>, or the keyword none:

Syntax example: counter-set: my-counter;

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…