--- title: Counter tags: visual expertise: advanced cover: blog_images/laptop-plants.jpg firstSeen: 2018-03-07T22:12:42+02:00 lastUpdated: 2020-12-30T15:37:37+02:00 --- Creates a custom list counter that accounts for nested list elements. - Use `counter-reset` to initialize a variable counter (default `0`), the name of which is the value of the attribute (i.e. `counter`). - Use `counter-increment` on the variable counter for each countable element (i.e. each `