pseudo-element

::-webkit-progress-bar — CSS reference

Nonstandard vendor pseudo-element for the progress track. 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
progress::-webkit-progress-bar

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>::-webkit-progress-bar</title><style>body{margin:0;background:white}#a{box-sizing:border-box}#a{width:120px}progress::-webkit-progress-bar{background-color:green}</style><body><label>Progress <progress id="a" max="10" value="6">60%</progress></label></body></html>
CSS Reference