Created
March 10, 2014 02:46
-
-
Save libo1106/9458641 to your computer and use it in GitHub Desktop.
Android 4.x placeholder line-height 对齐问题
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
/* | |
* 在Android4.x中,使用line-height = height,并不能将placeholder内容居中,需要是用line-height:normal,由系统自动计算 | |
*/ | |
input{ | |
line-height:normal; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment