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