本文介绍了行高属性:普通+ 4px的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望正常 line-height加上4px。我曾尝试

line-height:normal + 4px;



但不起作用。



注意:我不希望使用百分比进行逼近。)

解决方案

为什么不直接拿走Chromes小焦点眩光?使用css属性 outline:none;




I want the normal line-height, plus 4px. I have tried

line-height: normal + 4px;

but that doesn't work.

(Note: I don't want approximations using percentages.)

解决方案

Why not just take aways Chromes little focus glare?

use the css property outline: none;

http://jsfiddle.net/XF6fS/

这篇关于行高属性:普通+ 4px的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-24 21:58