[CSS] Use CSS Counters to Create Pure CSS Dynamic Lists

CSS counters let you create dynamic lists without JavaScript. In this lesson, we will create a multi-level table of contents using the CSS counter-reset and counter-increment properties with the counter attribute.

原文地址:https://www.cnblogs.com/Answer1215/p/5975122.html