Skip to content

Instantly share code, notes, and snippets.

@robpataki
Created March 29, 2017 17:27
Show Gist options
  • Save robpataki/908bd3b8648d1b99741743515c61cf9b to your computer and use it in GitHub Desktop.
Save robpataki/908bd3b8648d1b99741743515c61cf9b to your computer and use it in GitHub Desktop.
CSS Resets
//**
// 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