select清除默认样式

2019-01-20  本文已影响13人  苏本的书柜
 select{
                    appearance:none;   
                    -moz-appearance:none;   
                    -webkit-appearance:none; /*兼容苹果手机*/
                    -ms-appearance:none; 
                    outline:none;      
                    -webkit-tap-highlight-color: #fff;
                    border: rem(1) solid #EBEBEB;
                    width:rem(100);
                    height: rem(50);
                    line-height: rem(50);
                    /*防止紧紧靠在边上*/
                    text-indent:rem(4);
                    background-color: transparent;
                }

上一篇 下一篇

猜你喜欢

热点阅读