JSFiddle - React, Tailwind, and code Playground

by Aleksey Karagodnikov

HTML

<div class="styled-select">
    <select>
        <option>Значение 1</option>
        <option>Значение 2</option>
    </select>
</div>

CSS

.styled-select {
    filter:progid:DXImageTransform.Microsoft.gradient(GradientType=1, startColorstr=#8a8a8a, endColorstr=#c6cccf);
    background-image:-moz-linear-gradient(left, #8a8a8a 0%, #c6cccf 100%);
    background-image:-webkit-linear-gradient(left, #8a8a8a 0%, #c6cccf 100%);
    background-image:-ms-linear-gradient(left, #8a8a8a 0%, #c6cccf 100%);
    background-image:linear-gradient(left, #8a8a8a 0%, #c6cccf 100%);
    background-image:-o-linear-gradient(left, #8a8a8a 0%, #c6cccf 100%);
    background-image:-webkit-gradient(linear, left bottom, right bottom, color-stop(0%, #8a8a8a), color-stop(100%, #c6cccf));
    border: 1px solid #ccc;
    height: 34px;
    overflow: hidden;
    position: relative;
    width: 200px;
}
.styled-select::before, .styled-select::after {
    content: "";
    display: block;
    height: 33px;
    position: absolute;    
    top: 0;
    width: 33px;
}
.styled-select::before {
    background: url(http://www.smashmods.com/forum/images/gamer/on.png) no-repeat right transparent;
    left: 0;
}
.styled-select::after {
    background: url(http://cdn.bavotasan.com/wp-content/uploads/2011/05/down_arrow_select.jpg) no-repeat center transparent;    
    right: 0;    
}
.styled-select select {
    background: url(http://cdn.bavotasan.com/wp-content/uploads/2011/05/down_arrow_select.jpg) no-repeat right transparent;
    border: 0;
    border-radius: 0;
    font-size: 16px;
    line-height: 1;
    height: 34px;
    outline: none;
    padding: 5px 33px;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 2;
    -webkit-appearance: none;
    -moz-appearance: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;    
    text-indent: 0.01px;
    text-overflow: '';
}
.styled-select select:focus {
    outline: none;
}