I didn't knew about that. Thanks for sharing :)
It doesn't exist. (yet?)
It does actually, you can see th documentation. But it just works with ::before and ::after
::before
::after
That's just counter(). counter-value() enables it to be used in calc(), not only in content:, which only affects pseudo-elements.
counter()
counter-value()
calc()
content:
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I didn't knew about that. Thanks for sharing :)
It doesn't exist. (yet?)
It does actually, you can see th documentation. But it just works with
::beforeand::afterThat's just
counter().counter-value()enables it to be used incalc(), not only incontent:, which only affects pseudo-elements.