Something something CSS in JS 😇
February 4th, 2019
Wishing I could use the value from a CSS
counter() function inside a CSS
Wait a second: Can’t you use counter in a css custom property and then in the calc(); function?
Alas, no. :-(
And I was just about to pop on my machine and test it out :(
JS is quite useful for things like that. Need I remind you that you wrote a great book about it :)