table of contents marker w/ modern css 🧑🍳
jhey ʕ•ᴥ•ʔ
Visit on X@jh3yy148K followers
178,499 views
table of contents marker w/ modern css 🧑🍳
.toc { scroll-target-group: auto; }
a:target-current { anchor-name: --active; }
.toc::after {
position-anchor: --active;
top: anchor(top);
}
fun progressive enhancement, no js 🤙
Comments
Comments from the original post on X (Twitter)
No comments yet
