Created
March 23, 2019 00:23
-
-
Save josephbergdoll/0d4719cfb3feb921b301297014551d8b to your computer and use it in GitHub Desktop.
A mixin for overriding browser-applied input styles.
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
@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