window.onload=function(){
document.documentElement.style.fontSize=(document.documentElement.clientWidth/750)*100+'px';
}
移动端适配代码(rem)
猜你喜欢
转载自blog.csdn.net/l741938507/article/details/101686465
今日推荐
周排行