可以把字体,大小行高,高设置为以一样的值吗?
web前端开发吧
全部回复
仅看楼主
level 8
余真帆 楼主
-webkit-text-size-adjust:100%;font-size:8px;height:8px;line-height:8px;color:#999;
2016年03月31日 06点03分 1
level 1
有些浏览器可以吧?好像有些浏览器不行
[汗]
2016年03月31日 07点03分 2
level 1
没试过。[呼~]
2016年03月31日 07点03分 3
level 1
…
2016年03月31日 07点03分 4
level 9
有了lineheight就不要height了
理论上如果lineheight和fontsize是一样的话,lineheight的也是多余的,不过浏览器并没有这么显示,会自动加上行间距,你这么写就是把自动加的行间距给去掉了
2016年03月31日 11点03分 6
level 9
行高默认1.14
2016年03月31日 11点03分 7
算了下ff大概有1.33
2016年03月31日 12点03分
1