Post #1767859
2026-04-26 22:36 UTC
Okay, two significant obstacles:
• CSS counters only increase by integer values
• There’s no way to make calculations on counters with calc()
No idea how to proceed.
Replies (1)
-
@bhoot@mastodon.pub.solar 2026-04-27 10:03
@aartaka yes unfortunately. I've put it to another use though: to number the levels of my headings in an article. So a heading is prefixed with their corresponding section number like this: https://bhoot.dev/2024/on-linux-file-and-links/#copying-a-soft-link-file CSS in the following post: