Navbar Scroll Indicator for Articles

Image: Navbar Scroll Indicator for Articles GIF

Showing reading time or a progress indicator on articles is a relatively new trend, now you can do that for your next project with this snippet. There are 2 variation one with JS and one in pure CSS. The initial version was designed by Derek Palladino and the pure CSS version was done by Mike Riethmuller. When you scroll down the page you can see a progress bar just below the sticky navigation bar section.

If you are looking for a scroll indicator in the sidebar check out this snippet.

If you are having trouble with the pen, try the archived copy on GitHub. Find the CSS only version here

See the Pen Bloomberg Article Scroll Indicator by Derek Palladino (@derekjp) on CodePen.0

CSS Only

See the Pen CSS only scroll indicator by Mike (@MadeByMike) on CodePen.0

Posted by:Hima Vincent

Hima Vincent is the founder & editor in chief of CodeMyUI. She is a writer by day and a reader by night who helps web designers build awesome projects by sharing amazing code snippets for inspiration. Hobbies include designing, card games, photography and exploring the culinary arts.