web app

rem 的使用:

在W3C官网上是这样描述rem的——“font size of the root element” ,所以需要设置最根部的字号,不是给body设置,而是html,即html{font-size:62.5%;}

原文地址:https://www.cnblogs.com/guaiyutou/p/4775229.html