I have some code that applies a linear-gradient to a progress bar.
Currently, it only shows the gradient on the color rgb(33, 177, 89)
.
How can I keep the original progress bar color and apply a linear-gradient on top of it?
I am experimenting with showing gradients on two progress bars - one red and one blue.
<div style="color:red;">
<progress style=background:currentColor max="100" value="85" aria-valuemax="100" aria-valuemin="0" aria-valuenow="75" tabindex="-1">
</progress>
</div>
<div style="color:blue;">
<progress style=background:currentColor max="100" value="85" aria-valuemax="100" aria-valuemin="0" aria-valuenow="75" tabindex="-1">
</progress>
</div>
Check out the example on jsfiddle