14 ms·
You can generalize this: if you have to implement the UI element because it's not there by default (like a slider), it's probably worthwhile to investigate why.
by kristopolous 4y ago
You can generalize this: if you have to implement the UI element because it's not there by default (like a slider), it's probably worthwhile to investigate why.
- andrei_says_ 4y agoAlso default browser elements have been tested and retested. Reimplementing prettier versions is not always better. some form elements like checkboxes, radios, sliders, cannot have their size or color be controlled via css - they need to be outright replaced.
- kristopolous 4y agoPeople reimplementing basic things like scrolling always comes out so comically bad and broken. It reminds me of the classic dragon drop parody https://m.youtube.com/watch?v=DCu1G2rxj5c https://m.youtube.com/watch?v=DCu1G2rxj5c
- frosted-flakes 4y agoColor can be controlled with the accent-color property. https://developer.mozilla.org/en-US/docs/Web/CSS/accent-color https://developer.mozilla.org/en-US/docs/Web/CSS/accent-colo...