Select element: now with horizontal rules
Read OriginalThe article announces a new feature in Chrome 119 and Safari 17 that allows developers to insert <hr> (horizontal rule) elements as visual separators within a standard HTML select dropdown. This provides a native way to group and visually break up long lists of options for better usability, with a provided code example. It also references future form control improvements like the popover API and selectlist element.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser