Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CSS submit button weird rendering on iPad/iPhone

Oops! I just found this myself. Just add this line on any element you need:

   -webkit-appearance: none;

Add this code into the css file:

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

This will help.


The above answer for webkit appearance worked, but the button still looked kind pale/dull compared to the browser on other devices/desktop. I also had to set opacity to full (ranges from 0 to 1)

-webkit-appearance:none;
opacity: 1

After setting the opacity, the button looked the same on all the different devices/emulator/desktop.