Created
May 29, 2012 19:22
-
-
Save djadriano/2830150 to your computer and use it in GitHub Desktop.
reset buttons for fixes in all browsers
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
// reset all buttons | |
input[type="submit"], | |
button { | |
border: 0; | |
padding: 0; | |
cursor: pointer; | |
outline: none; /* for good measure */ | |
overflow: visible; /* removes extra side padding in IE */ | |
} | |
/* removing dotted line on buttons and clickable input elements for Firefox */ | |
input[type="submit"]::-moz-focus-inner, | |
input[type="button"]::-moz-focus-inner, | |
button::-moz-focus-inner { | |
border : 0; | |
padding: 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment