var rem;
(function(win){
var doc = win.document
var docEL = doc.documentElement
function refreshRem(){
var width = docEL.getBoundingClientRect().width
rem = width/7.5
docEL.style.fontSize = rem + ‘px’
}
refreshRem()
})(window)