HTML Progress Bar with CSS-only Dynamic Labels

Pseudo-elements are awesome and there’s so much we can do with them! I’m specifically talking about the awesome ::before and ::after elements.

With these two pseudo-elements and a CSS function, we can display HTML attribute values on our web page.

We are going to work with the <progress> HTML element as it has a few exciting attributes we could use to enrich…

--

--

Senior Web Developer, Creative Technologist with over 12 years experience | JavaScript, HTML, CSS, Artificial Intelligence

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Mate Marschalko

Senior Web Developer, Creative Technologist with over 12 years experience | JavaScript, HTML, CSS, Artificial Intelligence