⚠️ This post links to an external website. ⚠️
A new approach to enhancing the
selectelement focuses on a customizable height that meets user expectations. Jake Archibald opens the discussion with his experiences from a recent talk where he attempted to style theselectelement effectively using CSS. This exploration highlights a common sizing pattern that many developers desire but often struggle to achieve. The article addresses specific browser discrepancies, particularly with Firefox and Safari, and proposes solutions involving CSS properties likemax-block-sizeandcalc-size(). Archibald recommends creating better user experiences by ensuring that dropdowns do not overflow or appear too small. By implementing margins and setting minimum and maximum sizes based on context, developers can refine the usability of customized dropdowns, ultimately making them more user-friendly across browsers.
continue reading onjakearchibald.com
If this post was enjoyable or useful for you, please share it! If you have comments, questions, or feedback, you can email my personal email. To get new posts, subscribe use the RSS feed.