3 ms·
Genuinely curious about the rationals for using non-standard CSS, e.g. webkit-slider-thumb.
by brudgers 10y ago
Genuinely curious about the rationals for using non-standard CSS, e.g. webkit-slider-thumb.
- Neeek 10y agoDidn't they say that certain browsers render elements differently and they wanted a consistent experience?
- joechrysler 10y agoSadly, the slider-thumb/slider-track pseudo-element selectors haven't been standardized yet. There are prefixed selectors available for all the major rendering engines, but we were only targeting webkit-based browsers (more specifically, we were building for a webkit-based web view in a Xamarin app for iOS and Android). CSS-Tricks has a good writeup if you're interested: https://css-tricks.com/styling-cross-browser-compatible-range-inputs-css/ https://css-tricks.com/styling-cross-browser-compatible-rang...