网易移动端字体写法
window.onload=function(){
var deviceWidth = document.documentElement.clientWidth;
if(deviceWidth > 750) deviceWidth = 750;
document.documentElement.style.fontSize = deviceWidth / 7.5 + 'px';
}
实际尺寸就等于设计图除以100
设计稿上面是14px的话,计算成0.14rem
全部教程http://each.sinaapp.com/angular/index.html