StealThis .dev
页面 中等

Blog Post Page

A full article page with sticky table-of-contents sidebar, reading progress bar, estimated read time, author card, and related posts. No libraries.

在 Lab 中打开
vanilla-js css
目标: JS HTML

代码

Blog Post Page

A full-featured article page with a sticky table-of-contents sidebar that highlights the active section as you scroll, a reading progress bar at the top, and a complete article layout.

Features

  • Reading progress bar — thin line at top tracks scroll position
  • Sticky TOC sidebar — highlights the current section via IntersectionObserver
  • Estimated read time — calculated from word count
  • Author card — avatar, bio, social links
  • Related posts — card grid at the bottom
  • Share buttons — copy link + social icons

When to use it

  • Technical blogs and documentation sites
  • Marketing content pages
  • Any long-form article layout