标签:
// 设置rem var _w = $(window).width(); var BASE_W = 750; var BASE_SIZE = 20; var iFont = _w / BASE_W * 20; $(‘html,body‘).css(‘font-size‘, iFont);
设置rem
原文地址:http://www.cnblogs.com/baixc/p/5121966.html