Is there a javascript shorthand for accessing an element's css counter variable by name?

38 views Asked by At

I have a chess board with a counter variable for its fields. It is initialized using counter-reset and -1, and increments by one per field. Now I am trying to access that css counter variable using something that's not a :before or :after hack.

0

There are 0 answers