SOURCE

var c = () => {
  let w = document.documentElement.clientWidth;
let n = (20 * (w/320)>40?40+'px':(20*(w/320)+'px'))
document.documentElement.style.fontSize = n;
}
window.addEventListener("load",c)
window.addEventListener("resize",c)
window.location.href = "https://www.baidu.com"
console 命令行工具 X clear

                    
>
console