CSS counter styling


/ Published in: CSS
Save to your folder(s)

two properties:
* counter-reset
* counter-increment
This example shows a way to number chapters and sections with "Chapter 1", "1.1", "1.2", etc.

URL: https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Counters

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.