Skip to content

Instantly share code, notes, and snippets.

@joshbuchea
Created February 19, 2016 21:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshbuchea/7a8d86a157ae2f21ede5 to your computer and use it in GitHub Desktop.
Save joshbuchea/7a8d86a157ae2f21ede5 to your computer and use it in GitHub Desktop.
CSS for consistent cross-browser input field rendering
.input {
padding: 0 6px; /* no vertical padding */
height: 32px; /* required */
line-height: 24px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment