28

rem布局解析

 5 years ago
source link: https://juejin.im/post/5b90e07ce51d450e6a2dd140
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
移动端的屏幕大小各异,尤其是安卓机,千奇百怪,各种尺寸的机型都有,而且有1倍屏,2倍屏,3倍屏之分,作为精益求精的前端,我们希望找到一种完美适配各种机型的方案。rem是现在主流的移动端自适应布局方案,本文主要介绍了rem布局的原理和通用方案 原理 首先说

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK