.style not working on progress bar

.style works. But before you can control the background by code, you have to do the following on the editor:

  1. Click the progress bar

  2. Click Design

  3. Customize Design

  4. Fill color & opacity

  5. Scroll bar background to 100%