使用1.4的line-height值与使用140%的line-height值相同吗?换句话说,我们可以将无单位值视为与百分比值相同吗?
发布于 2020-07-06 13:39:19
请参见示例..
<div style="background:green;">
<p style="line-height:1.4;">This is demo Text. <br>This is demo Text.</p>
</div>
<div style="background:green;">
<p style="line-height:140%;">This is demo Text. <br>This is demo Text.</p>
</div>
https://stackoverflow.com/questions/60106350
复制相似问题