::-moz-range-progress - CSS | MDN

Syntax

css

::-moz-range-progress {
  /* ... */
}

Examples

HTML

html

<input type="range" min="0" max="100" step="5" value="50" />

CSS

css

input[type="range"]::-moz-range-progress {
  background-color: green;
  height: 1em;
}

Result

A progress bar using this style might look something like this:

The progress bar is a thick green square to the left of the thumb and a thin grey line to the right. The thumb is a circle with a diameter the height of the green area.

Specifications

Not part of any standard.

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on by MDN contributors.