css3 appearance property for IE

前端 未结 2 2031

I have a problem with the css3 appearance property in IE. I need it to hide a select menu\'s arrow, but it\'s just not working. I tried PIE.htc, ie-css3.htc and other IE CSS

2条回答
  •  旧时难觅i
    2020-12-15 09:54

    .listing select{
        appearance: none;
        -moz-appearance: none;
        -webkit-appearance: none;
        background: url("../images/select-bg.jpg") no-repeat scroll 0 0 transparent;
        text-indent: 0.01px;
        text-overflow: "";
    
    }
    .listing select::-ms-expand{
        display: none;
    }
    

    Note : For Chrome, Mozilla & IE 10 Works fine.

提交回复
热议问题