Horizontal rule inside select element?

VideoZoran Jambor

A quick tip showing how you can add a horizontal rule element in a select element.

A quick tip showing how you can add a horizontal rule element in a select element as a visual separator between some of the list items without using JavaScript.

CSS Weekly YouTube Channel

CSS Weekly YouTube Channel

Weekly hands-on tutorials, tips, tools, news, and more — everything related to CSS and front-end development, created by Zoran Jambor.

Subscribe Today »
AI Developer Newsletter

AI Developer Newsletter

A short, friendly roundup of the most useful tools, ideas, and real-world examples—curated specifically for developers like you.

Subscribe Today »