Skip to content

Instantly share code, notes, and snippets.

@georgioupanayiotis
Created June 4, 2015 15:05
Show Gist options
  • Save georgioupanayiotis/b7603d6d1cf1d157419c to your computer and use it in GitHub Desktop.
Save georgioupanayiotis/b7603d6d1cf1d157419c to your computer and use it in GitHub Desktop.
Enable custom submit button styling in Safari mobile
/*
*In order to remove native style is possible to set “appearance” to none,
*thus to enable complete custom styling of our submit buttons we can write the following CSS statement:
*Some notes:
*vendors-specific declarations (-webkit, -moz) may be removed
*do not reset appearance for all the HTML elements (ie: “*”) or you will have to work hard to restyling complex components like select!
*/
input[type='submit']
{
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment