r/css • • 7d ago

Article Dynamic table of content with one line of CSS

ol {

scroll-target-group: auto;

}

35 Upvotes

7 comments sorted by

3

u/devolute 6d ago • Popcorn

Instructions unclear.

What NPM library do I install to get this?

2

u/elgatogrande42 6d ago

Do you need to be reminded that you are within the r/css sub-reddit ?

6

u/devolute 6d ago

Never heard of him.

1

u/HeracliusAugutus 3d ago

Doesn't work on Firefox or Safari yet though