Canging meter's "analog" color
Posted: Sun Jul 23, 2017 4:15 pm
I changed a meter-element into a round LED.
I also changed the background-color to fulfill my need.
- Many thanks to Electroguard, for some wonderfull CSS-examples!
But I have no clue, how to change the color and shape of the green "analog"-content?
here's my code:
You can see the result for three of these "LEDs" in the picture.
For the second "LED" the analog variable has the value "1".
In need to change that green color and I need to make the shape roud, like the border.
How to do that?
I also changed the background-color to fulfill my need.
- Many thanks to Electroguard, for some wonderfull CSS-examples!
But I have no clue, how to change the color and shape of the green "analog"-content?
here's my code:
Code: Select all
LED1Scss = "background:red; width:20px; height:20px; border-radius:10px"
meter LED1S, 0, 2
cssid htmlid(), LED1Scss
You can see the result for three of these "LEDs" in the picture.
For the second "LED" the analog variable has the value "1".
In need to change that green color and I need to make the shape roud, like the border.
How to do that?