Front End Development

Creating Automatic Numbering with CSS Counter

As you know, in front end development when we add lists to the <ol> element, a numbered list gets generated automatically. Similarly, we can generate numbers for any element using CSS Counter. Let's see how it is done? Usage: CSS Counter has two main properties: "counter-reset" and "counter-increment". The following code...

by Amit Narayan
Tag: number list with CSS