There’s a lot of conflicting answers but one that I’m more drawn to is the canvas / device size. Any suggestions?
@media (width) and
@media (height) values
var w = Math.max(document.documentElement.clientWidth, window.innerWidth || 0); var h = Math.max(document.documentElement.clientHeight, window.innerHeight || 0);