Style a native select
Keep the native behavior and replace only the look.
CSS · Style a native selectAdvanced
select {
appearance: none;
padding: 0.65rem 2.4rem 0.65rem 0.8rem;
border: 1px solid #d1d5db;
border-radius: 8px;
background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b7280' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 0.8rem center;
}selectappearancearrowbackground