Last active
August 29, 2015 13:57
-
-
Save liveme/9680574 to your computer and use it in GitHub Desktop.
IE6下1px高度
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
/* | |
*@ Name: IE6下1px高度 | |
*@ Update: 2013-03-26 | |
*@ Usage: 在目标元素之间加一个空格的转义符 ,如:<div class="onepx"> </div> | |
* 或者考虑使用 1px 的 border-top 去代替。 | |
*/ | |
.onepx { | |
height: 1px; | |
line-height:1px; | |
font-size: 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment