Styling the <meter> tag
Hi!
I have a problem with styling the meter tag. Read this article but there is no mention of this. Styling the <meter> tag
I want the meter to have round edges so I tried putting border-radius on meter::-webkit-meter-optimum-value but it didn't work. Putting it on the meter::-moz-meter-bar gave me round edges on the filling (see the photo) but the background still has 90° edges.
Does anyone know how can those background edges be styled?
Wot cor-el
Wubrane rozrisanje
Try to set the radius on both meter and the meter-bar.
meter{ background: #0f0; border-radius:2rem; } meter::-moz-meter-bar { background: #f00; border-radius:2rem; }Tutu wotmołwu w konteksće čitać 👍 1
Wšě wotmołwy (2)
Wubrane rozrisanje
Try to set the radius on both meter and the meter-bar.
meter{ background: #0f0; border-radius:2rem; } meter::-moz-meter-bar { background: #f00; border-radius:2rem; }
That's it!
Thanks for the help. :)