|
|
|
|
|
by kronholm
4894 days ago
|
|
I've only ever done responsive via JavaScript, as I often need to target as many old and new browsers as possible. It seems like my method is way easier and faster than this "new" fancy CSS way. Does anyone have any experiences with both approaches, and if yes, which do you prefer? 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! |
|