Created
October 24, 2012 07:35
-
-
Save bojanbjelic/3944576 to your computer and use it in GitHub Desktop.
Remove whitespace around text fields
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
input, | |
textarea { | |
margin:0; | |
vertical-align:bottom; | |
} | |
/* | |
If you want to affect only text inputs you could use input[type="text"] instead of input. Other values for vertical-align, like top or middle, will also work. | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment