web app

rem 的使用:

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

posted @ 2015-09-01 11:17  乖鱼头  阅读(133)  评论(0编辑  收藏  举报