DEV Community

Cover image for Custom Select Arrow using CSS
SnippFlow
SnippFlow

Posted on • Edited on

Custom Select Arrow using CSS

The is a basic form element that allows users to choose one option from a list. But the default look, especially the arrow, doesn’t fit modern UIs. In this article you will learn how to disable the default arrow in a using CSS and how to add your own custom select arrow using SVG and the data:image property. This will make your forms look more modern and consistent.

See the following Codepen for a demo:

Full article: Custom Select Arrow using CSS
CSS Snippets

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay