Created
March 29, 2017 17:27
-
-
Save robpataki/908bd3b8648d1b99741743515c61cf9b to your computer and use it in GitHub Desktop.
CSS Resets
This file contains hidden or 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
//** | |
// Button reset | |
//** | |
button, | |
input[type="button"], | |
input[type="submit"] { | |
// Reset the ugly defaults | |
-webkit-appearance: none; | |
background: none; | |
border-radius: 0; | |
border: 0; | |
margin: 0; | |
padding: 0; | |
outline: 0; | |
&:focus { | |
outline: 0; | |
} | |
// Kill the tap highlight on phones | |
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); | |
-webkit-tap-highlight-color: transparent; | |
cursor: pointer; | |
user-select: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment