WebWeWant / webwewant.fyi

If you build websites, you inevitably run into problems. Maybe there’s no way to achieve an aspect of your design using CSS. Or maybe there’s a device feature you really wish you could tap into using JavaScript. Or perhaps the in-browser DevTools don’t give you a key insight you need to do your job. We want to hear about it!
https://webwewant.fyi
MIT License
74 stars 23 forks source link

The default html <option> tag should enable more css styling options to it #644

Closed WebWeWantBot closed 3 months ago

WebWeWantBot commented 9 months ago

title: The default html

The select and option tags in HTML have been around since 2008 (source: Mozilla web docs). The and

's or (or "checkbox" for multiple selections). Currently, the only CSS properties that the option tag allows are the color and background color (might be due to the properties in it's Shadow DOM), and there's a strong need to bring some basic properties like margin, padding, font size, etc. Except for their ugly UI, these tags are beneficial. Thus, if what we ultimately do is make our own version of select and option tags, this can only mean there is some critical need to remake these tags or at least increasing the capability of CSS that can be applied to it.


If posted, this will appear at https://webwewant.fyi/wants/651f0a567474780066dd5b6d/

ststimac commented 3 months ago

This falls under the Open UI Charter & has been in progress for quite some time. Closing this in favor of the existing issue.