We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

This translation is incomplete. Please help translate this article from English.

This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

The pseudo-element CSS ::-moz-range-track és una extensió de Mozilla que representa la pista (és a dir, la ranura) en què l'indicador es llisca en un <input> de type="range".

Nota: L'ùs de ::-moz-range-track amb qualsevol cosa que no sigui <input type="range"> no coincideix amb res i no té cap efecte.





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


input[type=range]::-moz-range-track {
  background-color: green;


Una barra de progrés que utilitzi aquest estil pot semblar una cosa així:

A range with the track green.


No forma part de cap especificació. Es tracta d'un pseudo-element propietari, específic en Gecko.

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!

Descripció Firefox (Gecko) Chrome Internet Explorer Opera Safari
Suport bàsic (Yes) No support No support No support No support
Descripció Firefox Mobile (Gecko) Android IE Phone Opera Mobile Safari Mobile
Suport bàsic (Yes) No support No support No support No support

Vegeu també

Document Tags and Contributors

Contributors to this page: Legioinvicta
Last updated by: Legioinvicta,