by kronholm · 13y ago · 0 comments
For those wondering: My method is pretty simple - I use a global ratio which is multiplied with width/heights, and a resize() function, which is called when the page is loaded and resized.
Edit: Long timer HN lurker, registered to post this. Also forgot to say I enjoyed the article, thanks!
The exception to this, would be a full-screen site/application where you are using the full field of view for an interactive display, or simulation. Then JS leaning and even canvas are more important for interaction.