I am required to make an input field that has an autocomplete functionality and they want a custom kind of button that shows that the input field is something different than just an input field.
but I can't seem to customize the class -ms-expand because all my css gets ignored. as you can see, it has display:none; but it still displays.
.input, .input2{
-webkit-appearance: menulist;
-moz-appearance:menulist;
}
.input::-ms-expand{
display:none;
color:green;
background-color:red;
border-left:1px solid black;
}
.input2::-ms-expand{
float:left;
color:red;
background-color:green;
border-right:1px solid black;
}
<input id="input" class="input" />
<input id="input2" class="input2" />