MDN self-hosted library · e01.org

`::-moz-progress-bar` CSS pseudo-element

Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.

css
::-moz-progress-bar {
  /* ... */
}
html
<progress value="30" max="100">30%</progress>
<progress max="100">Indeterminate</progress>
css
::-moz-progress-bar {
  background-color: red;
}

/* Force indeterminate bars to have zero width */
:indeterminate::-moz-progress-bar {
  width: 0;
}