css counter use cases

Hey, if there's a design such as the one in the image where there's a number incrementing depending on how many sections there are, in this case it would be the number in the milestone text. Would it be appropriate to use a css counter? Thanks in advance.
No description
6 Replies
ἔρως
ἔρως2mo ago
yes that's what counters are for
snxxwyy
snxxwyy2mo ago
oh awesome, thank you!
ἔρως
ἔρως2mo ago
you're welcome they are usually used for titles - to count the headers, but this is a perfectly normal use
snxxwyy
snxxwyy2mo ago
oh so like section 1, section 2 etc?
Tok124 (CSS Nerd)
You can do that yes
ἔρως
ἔρως2mo ago
yes