Custom select menu - CSS only

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

IntermediateUI18 min

About this video

A CSS tutorial on customizing native select menus using pseudo-elements and pointer-events: none, without building a custom dropdown from divs and JavaScript. It covers the HTML structure, styling the button, fixing sizing and adding custom icons, and notes that control over the result is partial.

What you’ll learn

  • Build a styled select menu with CSS pseudo-elements
  • Use pointer-events: none to layer a custom icon over a native select
  • Fix sizing and icon placement in a customized select control