Skip to content

Instantly share code, notes, and snippets.

@pauliusef
Created February 8, 2016 17:26
Show Gist options
  • Save pauliusef/40885198b0960057f2dd to your computer and use it in GitHub Desktop.
Save pauliusef/40885198b0960057f2dd to your computer and use it in GitHub Desktop.
Input styling
a,button,input {
-ms-touch-action: none!important
}
input,textarea {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none
}
input:-webkit-autofill { box-shadow: 0 0 0 1000px transparent inset }
input::-ms-clear { display: none }
::-webkit-input-placeholder { color: #8c8c8c }
::-moz-placeholder { color: #8c8c8c }
:-moz-placeholder { color: #8c8c8c }
:-ms-input-placeholder { color: #8c8c8c }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment