How to make a style for mozily select?

hi all. Help make a style for mozily. In Opera, chrome, IE it works, but in Mozilla not. Here is the code style to select a
select::-ms-expand {
 display: none;
}
.newselect select{
 border-radius: 0;
 border: 0;
 -webkit-appearance: none;
 /* for IE */
 -ms-appearance: none;
 appearance: none;
}
.newselect {
 border: 1px solid #CCC;
display:inline-block;
 line-height: 1;
}
.newselect select:focus{
 background: #F1F2F7;
 color: #2DBBFF;
}
.newselect select option:hover{
 background: transparent;
}
September 19th 19 at 12:26
1 answer
September 19th 19 at 12:28
The traditional method is to use a jquery plugin like harvesthq.github.io/chosen/. This will give maximum flexibility and cross-browser compatibility.
no, I need my style) - Lucy37 commented on September 19th 19 at 12:31
The basic gist of the plugin is to replace the real select emulated from div, ul, li - ie of elements amenable to stylization. After this change you can hang your css properties already replaced the select and achieve an exact match with the design and fully cross-browser compliant. - Austin_Goldner57 commented on September 19th 19 at 12:34
: clear. So without third-party plugins to do.. - Lucy37 commented on September 19th 19 at 12:37

Find more questions by tags HTML