Style Headings using the CSS :heading pseudo-class

https://www.alwaystwisted.com/articles/styling-with-the-heading-pseudo-class

9 points · 8 comments · view on lemmy.world

8 Comments

lambalicious@lemmy.sdf.org · 4 pts · 191d (6 replies)

Isn't :heading literally not supported anywhere?

briggsyj@programming.dev · 3 pts · 191d
codeinabox@programming.dev · 1 pts · 191d (4 replies)

Well spotted, the article states:

The :heading pseudo-class is currently available in nightly builds only. You can test it now in:

  • Firefox Nightly (behind a flag)
  • Safari Technology Preview
lambalicious@lemmy.sdf.org · 1 pts · 191d (3 replies)

Yeah it's pretty weird.

I'm getting the impression this sub is getting spammed with Google-promoting or nothing-burger posts these last few weeks.

codeinabox@programming.dev · 2 pts · 191d (2 replies)

Do you mean features only currently available in Chrome?

lambalicious@lemmy.sdf.org · 1 pts · 191d (1 reply)

Same difference. GoogleCSS, if you'd want to be brief.

codeinabox@programming.dev · 1 pts · 190d

However in this case the opposite is true, as Chromium currently doesn't support this feature.

geoff@midwest.social · 2 pts · 191d

I love this so much.