3 ms·
The solution isn't to make a new html element for each use case. The solution is to make html elements extensible. With the `appearance: base-select` css rule
by spartanatreyu 2y ago
The solution isn't to make a new html element for each use case.
The solution is to make html elements extensible.
With the `appearance: base-select` css rule, we now have a standardized way to extend <select> with html and css, (and we have the potential to declaratively extend intractability too with invoking commands without needing to reach for JS)
- owebmaster 2y ago> The solution is to make html elements extensible. The solution would be to make Apple ship this: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/is https://developer.mozilla.org/en-US/docs/Web/HTML/Global_att...