I need to change the color of a progress bar based on some PHP values. I am not familiar with the WebKit technology, but as far as I understand it, it's the only way to change the progress bar color. So, I need to do something like this:
<progress style="progress::-webkit-progress-value { background: red; }" max="<?php echo $max; ?>" value="<?php echo $val; ?>"></progress>