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
ἔρως
ἔρως9mo ago
yes that's what counters are for
snxxwyy
snxxwyyOP9mo ago
oh awesome, thank you!
ἔρως
ἔρως9mo ago
you're welcome they are usually used for titles - to count the headers, but this is a perfectly normal use
snxxwyy
snxxwyyOP9mo ago
oh so like section 1, section 2 etc?
Tok124 (CSS Nerd)
You can do that yes
ἔρως
ἔρως9mo ago
yes
Want results from more Discord servers?
Add your server