line-height

http://www.zhihu.com/question/20394889

http://www.zhangxinxu.com/wordpress/2009/11/css%E8%A1%8C%E9%AB%98line-height%E7%9A%84%E4%B8%80%E4%BA%9B%E6%B7%B1%E5%85%A5%E7%90%86%E8%A7%A3%E5%8F%8A%E5%BA%94%E7%94%A8/

当line-height:150%,字元素的行高等于16px * 150% = 24px:子元素行高继承父元素的字体大小乘以行高;

当line-height:1.5时,子元素行高等于30px * 1.5 = 45px;子元素行高为子元素字体大小乘以行高;
 
line-height属性有垂直居中的特性-->想让单行文字垂直居中直接line-height:;多少px就行;
原文地址:https://www.cnblogs.com/zhangxinxin111/p/5120318.html