JSFiddle - React, Tailwind, and code Playground
by peppelorum
HTML
<div class="wrapper">
<div class="styled-select">
<select>
<option>One</option>
<option>Two</option>
</select>
</div>
</div>
CSS
.wrapper {
width: 50%;
}
.styled-select {
height: 21px;
line-height: 21px;
overflow: hidden;
border: 1px solid #27292c;
border-radius: 3px;
background: url('http://box.bergqvi.st/dev/selectbox/bg.png') no-repeat right #494849;
padding: 0 0 0 0;
box-shadow:inset 0 0 1px #393939;
-moz-box-shadow:inset 0 0 1px #393939;
-webkit-box-shadow:inset 0 01px #393939;
}
.styled-select select {
-webkit-appearance: none;
-moz-appearance: window;
background: transparent;
width: 100%;
wid\th: 112%; /* IE hack */
padding: 1px 20px 0 3px;
border: 0;
color: #fff;
}
.styled-select option {
color: #000;
}