我想将selectize.js中的插入符号图标更改为bootstrap(glyphicon-menu),如下图所示:
我正在使用(selectize.bootstrap3.css)并尝试使用此css文件,但没有运气.
最佳答案
我已经弄清楚了.我更改了以下用于呈现图标的(selectize.bootstrap3.css)文件中的css类:
原文链接:https://www.f2er.com/css/427375.html.selectize-control.single .selectize-input:after {
content: '\e259'; /*This will draw the icon*/
font-family: "Glyphicons Halflings";
line-height: 2;
display: block;
position: absolute;
top: -5px;
right: 0;
background-color: white;
padding-right: 2px;
}
.selectize-control.single .selectize-input.dropdown-active:after {
content: '\e260';
font-family: "Glyphicons Halflings";
background-color: white;
padding-right: 2px;
}