67

移动端自适应个人理解与收集——rem

 6 years ago
source link: https://juejin.im/post/5a5f46ac51882573520d6f8b
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.
rem——更好的适配移动端。这个单位我一直想弄个究竟,今天终于看了个差不多。看了很多的博客。心中总算有自己的想法。(还有vh,vw这里我这个小白还没有弄明白就先不写了。) 1.rem可以在html,body下设置font-size的大小,然后根据 根元素的大小

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK