简体   繁体   中英

CSS: -ms-clear not available in IE11?

Ps: Pls dont mark duplicate without reading the entire question

Dear All,

I want to remove the cross[X] icon for the input field.

I very well know it can be done using CSS

.input::-ms-clear {
    display: none;
} 

But somehow this property is not available in IE11, and even if i forcefully use this property IE is not identifying it. Is there any alternative property available for it. I tried searching but i didnt find any.

As discussed it was a

.

infront of

.input::-ms-clear {
    display: none;
} 

That caused the error.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM