How To Change Bootstrap Select Arrows To Glyphicon?
I want to achieve something like this, except arrow should be bootstrap glyphicon icon: I really don't know how to make this using bootstrap. I was trying to do this like this: &l
Solution 1:
You can achieve it by using .input-group
and .input-group-addon
classes of bootstrap. You can hide down arrow by using below css code in your stylesheet. Below is the code snippet :
select {
-webkit-appearance: none;
-moz-appearance: none;
text-indent: 1px;
text-overflow: '';
}
<div class="input-group">
<select class="form-control">
<option>1</option>
<option>2</option>
<option>3</option>
</select>
<span class="input-group-btn"><i class="glyphicon glyphicon-menu-down"></i></span>
</div>
Post a Comment for "How To Change Bootstrap Select Arrows To Glyphicon?"