Home > Web Front-end > HTML Tutorial > li height is squeezed_html/css_WEB-ITnose

li height is squeezed_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:38:48
Original
1966 people have browsed it

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? ? ?


Reply to discussion (solution)

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



Is it the reason for rem js control? ? ?

It is caused by js calculating the font-size of the html node.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template