I am curious about how to style the <meter>
tag in a new way.
<meter value=80 min=0 max=100>
80/100
</meter>
All I want to do is customize the background color and the value color, but I haven't been able to locate the appropriate CSS properties. I've come across some styles for webkit-based browsers:
meter::-webkit-meter-horizontal-bar {
-webkit-appearance: meter;
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#DDD), color-stop(0.2, #EEE), color-stop(0.45, #CCC), color-stop(0.55, #CCC), to(#DDD));
}
Pseudo element
meter::-webkit-meter-horizontal-optimum-value {
-webkit-appearance: meter;
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#AD7), color-stop(0.2, #CEA), color-stop(0.45, #7A3), color-stop(0.55, #7A3), to(#AD7));
}
Pseudo element
meter::-webkit-meter-horizontal-suboptimal-value {
-webkit-...
Pseudo element
meter::-webkit-meter-vertical-bar {
-webkit-...
Pseudo element
meter::-webkit-meter-vertical-optimum-value {
-webkit-...
Pseudo element
meter::-webkit-meter-vertical-suboptimal-value {
-webkit-...
Pseudo element
meter::-webkit-...
Could someone please provide information on the appropriate CSS properties for gecko-based browsers (Firefox), Opera, and IE?