See this pen on codepen.io
Primary LanguageHTML
This is a simple code to explain CSS counters and how to use it.