It depends on what you want to change it for, but the carriage is currently derived from this CSS, which gives it a zero size, but uses a border to simulate a down arrow:
.caret {
display: inline-block;
width: 0;
height: 0;
margin-left: 2px;
vertical-align: middle;
border-top: 4px dashed;
border-top: 4px solid\9;
border-right: 4px solid transparent;
border-left: 4px solid transparent;
}
You can change it to a green square, for example:
.bootstrap-select.btn-group .dropdown-toggle .caret {
width: 10px;
height: 10px;
border: none;
background-color: green;
}
Demo fiddle: http://jsfiddle.net/pvT8Q/460/
Or you can use bootstrap worms:
.bootstrap-select.btn-group .dropdown-toggle .caret {
width: 10px;
height: 10px;
border: none;
font-family: 'Glyphicons Halflings';
}
.bootstrap-select.btn-group .dropdown-toggle .caret:before {
content: "\e003";
}
Demo fiddle: http://jsfiddle.net/pvT8Q/461/
(I leave your positioning)
source
share