A Reading Progress Bar in Pure CSS (No JavaScript Required)

CSS scroll-driven animations let you build a reading progress bar with zero JavaScript. Here's the entire implementation — it's smaller than most import statements.