line-height
一般建议在 line-height
使用 em。因为在需要调整字体大小的时候,只需修改 font-size
的值,而 line-height
已经设置成了相对行高了。
首行缩进两个字符
在存在首行缩进的需求,我也会使用这个单位。
text-indent: 2em
line-height
一般建议在 line-height
使用 em。因为在需要调整字体大小的时候,只需修改 font-size
的值,而 line-height
已经设置成了相对行高了。
首行缩进两个字符
在存在首行缩进的需求,我也会使用这个单位。
text-indent: 2em