CSS submit button weird rendering on iPad/iPhone

2019-01-07 02:20发布

I noticed that if I style my buttons with CSS using radius, colors and borders, they look good but in the iphone/ipad/ipod they look terrible...shouldn't be the same rendering as in Safari Desktop??

enter image description here

2条回答
forever°为你锁心
2楼-- · 2019-01-07 03:10

oops! just found myself: just add this line on any element you need

   -webkit-appearance: none;
查看更多
混吃等死
3楼-- · 2019-01-07 03:13

Add this code into the css file:

input {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}

This will help.

查看更多
登录 后发表回答