Reading progress bar
A blog article topped by a thin bar that fills up as the reader moves through the text.
- Tailwind
- React
- CSS
- WordPress
Description
A thin coloured bar sticks to the top of the screen while reading and fills up as the page scrolls, from the heading to the last line of the article: readers see at a glance how much is left. Ideal for a blog, a guide, a case study or an advice page. Progress follows scrolling through CSS view-driven animations (animation-timeline); a short script takes over in browsers that do not support them yet (Firefox). The decoration is hidden from screen readers. AA contrast in light and dark mode. With prefers-reduced-motion the bar is removed.
Code
Loading the code…
The code of this component in
Archive contents
effet-barre-progression-lecture-html-tailwind.zip3 files · 5 Ko
- index.html6 Ko
- README.md3 Ko
- LICENSE.md1 Ko
Tags
Updated on December 2, 2026.
Reviews
No reviews yet.
In the same spirit

A large heading whose words turn from grey to ink as the page scrolls, then whose key phrases get a marker stroke, in pure CSS with a readable fallback.
- Tailwind
- React
- CSS
- WordPress

Cards that fade in as they enter the screen, one after another in each row, without a line of JavaScript and with a static fallback.
- Tailwind
- React
- CSS
- WordPress

A translucent card with a saturated blur whose sharper edge refracts the colourful shapes drifting behind it, with an opaque fallback when transparency is reduced.
- Tailwind
- React
- CSS
- WordPress

A help block shaped like a conversation: bubbles, three animated typing dots and clickable quick replies that show your answers to frequent questions, frozen under prefers-reduced-motion.
- Tailwind
- React
- CSS
- WordPress