JSFiddle - React, Tailwind, and code Playground
HTML
<label class="custom-select">
<select class="form-control black">
<option>1to9</option>
</select>
</label>
CSS
label.custom-select {
position: relative;
display: inline-block;
width: 100%;
}
.custom-select select {
display: inline-block;
padding: 4px 3px 3px 5px;
margin: 0;
font: inherit;
outline: none;
line-height: 1.2;
background: #000;
color: white;
border: 0;
border-radius: 0;
}
.custom-select:after {
content: "▼";
position: absolute;
top: 0;
right: 0;
bottom: 0;
font-size: 30px;
line-height: 30px;
padding: 11px 14px;
background: #4D4D4D;
color: #999999;
pointer-events: none;
}
.no-pointer-events .custom-select:after {
content: none;
}