I am trying to color the progress bar depending on the value.
progress[value]::-webkit-progress-value { position: relative; background-color: rgba(0, attr(value) ,0,1); background-size: 35px 20px, 100% 100%, 100% 100%; border-radius:3px; animation: animate-stripes 5s linear infinite; }
Attr (value) doesn't seem to work - is there a way to insert the value there? Chrome use
source share