Login
From:
CSS Tip: Learn CSS the easy way
(Uncensored)
subscribe
Custom progress element using attr()
https://css-tip.com/custom-progress/
links
backlinks
Roast topics
Find topics
Find it!
Using the new attr() function, we can customize a progress element based on the progression. We can, for example, have a different coloration for each range of values! A single-element implementation without JavaSript.