Home  >  Article  >  Web Front-end  >  li高度被挤压_html/css_WEB-ITnose

li高度被挤压_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:38:481843browse

被挤压后:


正常高度:


1、li高度被挤压,这是为什么???     其实它的高度比这个高出很多。

2、而且,当网速快一点的时候,它也是从小到大被放大而来的?   从小动态的变大而不是直接就是那么大?  这是为什么???
Html新特性???

怎么样才能让li的高度直接显示出来???


回复讨论(解决方案)

你是不是使用的绝对大小?
line-height:4.2rem,自己换算的

你是不是使用的绝对大小?
line-height:4.2rem,自己换算的



rem+js控制的原因吗???

js计算 html节点的font-size造成的。

Statement:
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