javascript – CSS row numbering but with a custom order of numbers


Good morning ladies and gents.

I am trying to set row numbers with CSS, but would like to pre-define the set of numbers for use on the page. The order of the numbers will change from page to page (I can add code to the head section of each page). I cannot find anything online which suggests that it is possible, it may be the case that its not a CSS job, but Javascript? Any help is massively appreciated!!

For example

1    
2    
2    
3
3
3    
4    
5    
6



Source link

Latest articles

Related articles

Leave a reply

Please enter your comment!
Please enter your name here