Skip to content

Instantly share code, notes, and snippets.

@josephbergdoll
Created March 23, 2019 00:23
Show Gist options
  • Save josephbergdoll/0d4719cfb3feb921b301297014551d8b to your computer and use it in GitHub Desktop.
Save josephbergdoll/0d4719cfb3feb921b301297014551d8b to your computer and use it in GitHub Desktop.
A mixin for overriding browser-applied input styles.
@mixin reset-input {
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
-ms-appearance: none;
cursor: pointer;
background: transparent;
border: none;
border-radius: 0;
width: auto;
margin: 0;
padding: 0;
line-height: normal;
-webkit-font-smoothing: inherit;
-moz-osx-font-smoothing: inherit;
text-align: left;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment