CSS submit button weird rendering on iPad/iPhone

2019-01-07 02:23发布

问题:

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??

回答1:

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

   -webkit-appearance: none;


回答2:

Add this code into the css file:

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

This will help.