Spec-Zone.ru › CSS

`::-webkit-slider-thumb` CSS pseudo-element

Non-standard: 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.

Non-standard: 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 ::-webkit-slider-thumb CSS pseudo-element represents the "thumb" that the user can move within the "groove" of an <input> of type="range" to alter its numerical value.

Syntax

::-webkit-slider-thumb {
  /* ... */
}

Specifications

Not part of any standard.

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Opera Safari Chrome Android Firefox for Android Opera Android Safari on iOS Samsung Internet WebView Android WebView on iOS
-webkit-slider-thumb
32
79
No
19
18
32
No
19
18
2.0
4.4.3
18

See also

  • ::-webkit-slider-runnable-track
  • Similar pseudo-elements used by other browsers:
    • ::-moz-range-thumb
  • CSS-Tricks: Styling Cross-Browser Compatible Range Inputs with CSS
  • QuirksMode: Styling and scripting sliders
  • Couple of Gotchas to Watch-out For

© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors/::-webkit-slider-thumb

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API