苹果iphone手机上input的button按钮颜色显示有问题,安卓却没问题

苹果手机中会如类似上图,安卓却可以按自己写的来显示

解决办法:

-webkit-appearance: none;

 以上即可,当然样式中可以加上通用的:

通用:
input[type
=button], input[type=submit], input[type=file], button {-webkit-appearance: none; }

 


posted @ 2016-11-29 10:38  James2019  阅读(390)  评论(0编辑  收藏  举报