After being squeezed:
Normal height:
1. The height of li is squeezed. Why is this? ? ? In fact, its height is much higher than this.
2. Moreover, when the Internet speed is faster, it is also amplified from small to large? From small to dynamic, it becomes bigger instead of just that big? why is that? ? ?
New features of Html? ? ?
How can I display the height of li directly? ? ?
Are you using the absolute size?
line-height: 4.2rem, converted by yourself
Did you use the absolute size?
line-height: 4.2rem, converted by myself
It is caused by js calculating the font-size of the html node.