pseudo-element

::-webkit-meter-optimum-value — CSS reference

Nonstandard vendor pseudo-element for the meter fill in optimum region. Native control parts depend on engine and appearance; parsing a prefixed selector does not prove the internal part exists or is painted. Preserve native semantics, labels and keyboard operation. The standard host styling example is a limited alternative, not exact internal styling.

Formal Syntax & Structure

css syntaxcss
meter::-webkit-meter-optimum-value

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>::-webkit-meter-optimum-value</title><style>body{margin:0;background:white}#a{box-sizing:border-box}#a{width:120px}meter::-webkit-meter-optimum-value{background-color:green}</style><body><label>Capacity <meter id="a" min="0" max="10" low="3" high="7" optimum="9" value="9">9/10</meter></label></body></html>
CSS Reference