monks/counter_set
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 {{cssxref(“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.
The counter’s value can be incremented or decremented using the {{cssxref(“counter-increment”)}} CSS property.
Values
pub const none: #(String, String)
- : No counter set is to be performed. This can be used to override a
counter-setdefined in a less specific rule.
pub const revert_layer: #(String, String)