6 * The purpose of this test is to not show the native style.
7 * -moz-appearance: meterbar;
12 vertical-align: -
0.2em;
14 background: linear-gradient(#e6e6e6, #e6e6e6, #eeeeee
20%, #cccccc
45%, #cccccc
55%);
19 * The purpose of this test is to not show the native style.
20 * -moz-appearance: meterchunk;
26 background: linear-gradient(#ad7, #ad7, #cea
20%, #
7a3
45%, #
7a3
55%);
29 div.meter-element { padding:
5px; }
30 body
> div:nth-child(
1) { -moz-appearance: none; }
31 body
> div:nth-child(
2)
> .meter-bar { -moz-appearance: none; }
32 body
> div:nth-child(
3) { background: red; }
33 body
> div:nth-child(
4)
> .meter-bar { background: red; }
34 body
> div:nth-child(
5) { border:
2px solid red; }
35 body
> div:nth-child(
6)
> .meter-bar { border:
5px solid red; width: calc(
100% -
10px); }
38 <div class=
"meter-element">
39 <div class=
"meter-bar"></div>
41 <div class=
"meter-element">
42 <div class=
"meter-bar"></div>
44 <div class=
"meter-element">
45 <div class=
"meter-bar"></div>
47 <div class=
"meter-element">
48 <div class=
"meter-bar"></div>
50 <div class=
"meter-element">
51 <div class=
"meter-bar"></div>
53 <div class=
"meter-element">
54 <div class=
"meter-bar"></div>