Created
October 31, 2013 10:12
-
-
Save yangjunjun/7247310 to your computer and use it in GitHub Desktop.
解决Firefox下input button内文字垂直居中,原因是Firefox的私有属性。来源:http://www.daqianduan.com/firefox-input-button/
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[type="reset"]::-moz-focus-inner, | |
input[type="button"]::-moz-focus-inner, | |
input[type="submit"]::-moz-focus-inner, | |
input[type="file"] > input[type="button"]::-moz-focus-inner{ | |
border:none;padding:0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment