Post #2814078
2026-02-17 14:19 UTC
@burkybang@mastodon.social agreed, something like heading-level() would be cool. As for using the idea, but not necessarily the terse one liner - we can have a :heading(Nn) { } which defines the heading level for the scale.
I like the idea of different scales for different viewports - and I guess we can make different sizes depending on where the heading is … perhaps a card H3 looks like an H2?
Also think this is where Mike's CSS Custom Property strategy comes in handy.
Thanks for taking a look <3
Replies (0)
No replies.