Custom dropdowns just got a whole lot easier (finally!) @WesBos
Custom dropdowns just got a whole lot easier (finally!)  @WesBos
Uploaded December 2024 | Updated November 2026, 3 hours ago
Introducing the new Customizable Select that make it easy to create totaly custom dropdown selects with just HTML and CSS.

Code: github.com/wesbos/hot-tips/tree/main/customizable-select
WhatWG Progress: github.com/whatwg/html/issues/9799
Una Kravets Demos: developer.chrome.com/blog/rfc-customizable-select

00:00 - Introducing Customizable Select
00:25 - The HTML
01:00 - Selected Option Slot
01:15 - The CSS
02:15 - Styling the Selected Option
02:31 - Multiple Select
02:50 - Form and JS API
03:11 - Browser Support and Fallbacks
03:58 - Trying it out and More Demos
04:31 - Jump Scare
Custom dropdowns just got a whole lot easier (finally!)🔥 Format relative time amounts - like 2 seconds ago - with the JS Intl.RelativeTimeFormat() APIFINALLY animate CSS height: auto;🔥 CSS object-fit: cover; is super handy for aligning imagesnpm install, but server is running? BACKGROUND ITFixing Twitters border-radius problemmouse gestures are the new keyboard shortcuts🔥 Heres what the new TypeScript 4.9 `Satisfies` Operator is for🔥 You can use type=module in a script block? Import external deps and use top level await!Hot Tips Scripting on the Twitter Web UI🔥 Open all files with lint issues in VS Code🔥 Make a webcam photobooth app in about 15 lines of JavaScript
Wes Bos |

Custom dropdowns just got a whole lot easier (finally!)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER