Home >Web Front-end >HTML Tutorial >像这种布局是怎么办到?_html/css_WEB-ITnose

像这种布局是怎么办到?_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:27:11995browse



页面中li中的元素和其本身还有父元素会随着浏览器窗口大小的变化而变化,请问是怎么办到的?


回复讨论(解决方案)

rem+@media screen 实现

rem可以使页面中的元素变大或缩小。
@media screen 可以设置不同的数量。

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