Progress Bar Styling Based on Percentage

I freakin’ love Wappler!

I have used the method below using a scheduler to auto log out a user. Works amazing.

I have also added a progress bar to display how long before auto logout using this method using scheduler percentage as a value.

Now what I think would be amazing is that if I could change the bar colour based on percentage.

0-60% could be green
61-85% could be yellow
86-99% could be red

Is there a way to do this?

Community Page
Last updated: