JSFiddle - React, Tailwind, and code Playground
CSS
body {
--test: 123;
counter-increment: test var(--test);
}
body::before {
content: counter(test);
}
body {
--test: 123;
counter-increment: test var(--test);
}
body::before {
content: counter(test);
}