rem布局js设置字体
var scale = $('body').width() / 750;
$('html').css('font-size', 100 * scale + 'px');
window.onresize = function () {
var scale = $('body').width() / 750;
$('html').css('font-size', 100 * scale + 'px');
};
var scale = $('body').width() / 750;
$('html').css('font-size', 100 * scale + 'px');
window.onresize = function () {
var scale = $('body').width() / 750;
$('html').css('font-size', 100 * scale + 'px');
};