<div class="wrap-select-arrow">
<select class="form-control active" name="industry">
<option value="0" selected="selected">Option 1</option>
<option value="1">Option 2</option>
</select>
<div class="select-arrow">
<div class="arrow-up"></div>
<div class="arrow-down"></div>
</div>
</div>
/* Style for select */
select {
width: 100%;
height: 40px;
padding: 6px 45px 6px 15px;
appearance: none;
-moz-appearance: none;
-webkit-appearance: none;
background: url("../images/select-bg.jpg") no-repeat scroll 0 0 transparent;
text-indent: 0.01px;
text-overflow: "";
}
/* Hidden select default on ie */
select::-ms-expand{
display: none;
}
/* Style for wrap select arrow */
.wrap-select-arrow {
position: relative;
}
/* Style for arrow */
.select-arrow {
position: absolute;
top: 0;
right: 0;
padding: 8px 15px;
pointer-events: none;
}
/* Arrow down */
.arrow-down {
width: 0;
height: 0;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-top: 10px solid #4A4A4A;
}
/* Arrow up */
.arrow-up {
width: 0;
height: 0;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-bottom: 10px solid #4A4A4A;
margin-bottom: 3px;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.