![](https://www.bram.us/wordpress/wp-content/uploads/2019/03/css-variable-in-generated-content.jpg)
Nice hack by Cassie: she uses counter-reset as a temporary storage space so that the value of a CSS Variable it can be used inside generated content (e.g. with the content property). I was trying to display the numeric value stored in a CSS variable inside generated content…Turns out you can't do that.But you can …