Created
June 4, 2015 15:05
-
-
Save georgioupanayiotis/b7603d6d1cf1d157419c to your computer and use it in GitHub Desktop.
Enable custom submit button styling in Safari mobile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
*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