SyntaxFix
Write A Post
Hire A Developer
Questions
With this code 1em or 100% will equal to 1% of the body height
document.body.style.fontSize = ((window.innerHeight/100)*6.25)+"%"