I am looking to customize the appearance of a range input slider. Specifically, I want the slider to be green for the lower portion (where the thumb has moved) and grey for the remaining section. I have successfully changed the default styles from blue and grey to green and grey. Everything works as expected when the min and max values are set to the default of 0 and 100. However, when I change these values to 100000 and 300000, the slider colors do not adjust as intended (the green part should reflect the percentage of the total length that has been covered by the slider). You can view the code here: https://stackblitz.com/edit/angular-w885ke?file=src%2Fapp%2Fapp.component.ts
If anyone has a solution for this issue, I would greatly appreciate it. Thank you!