document.documentElement.style.fontSize = innerWidth / 7.5 + 'px';
    window.onresize = function () {
      document.documentElement.style.fontSize = innerWidth / 7.5 + 'px';
    }
posted on 2019-12-11 11:29  效率的九尾  阅读(550)  评论(0编辑  收藏  举报