6 ms·
Vision: Game Boy Advance-sized website. Problem: Very tiny. Solution: Scale to viewport in integer increments. Result: https://anaminus.github.io/ https://an
by Anaminus 4y ago
Vision: Game Boy Advance-sized website.
Problem: Very tiny.
Solution: Scale to viewport in integer increments.
Result: https://anaminus.github.io/ https://anaminus.github.io/
This disables zoom. In fact, it actively fights the zoom level to always fit the viewport. Have I committed a great sin?
- account42 4y ago> This disables zoom. In fact, it actively fights the zoom level to always fit the viewport. Have I committed a great sin? Yes. Scaling to the screen size is fine, overriding the users's attempt at zooming in is not.
- Jaruzel 4y agoLove it. To be honest, It makes me recall painful WAP[1] browsing on an old Nokia phone. --- [1] https://en.wikipedia.org/wiki/Wireless_Application_Protocol https://en.wikipedia.org/wiki/Wireless_Application_Protocol
- NDizzle 4y agoNot sure what you're going for, but this probably isn't it. https://imgur.com/a/Kgktbvs https://imgur.com/a/Kgktbvs
- akavi 4y agoIt's not scaled to the viewport for me. It's centered in the middle of it, but still tiny.
- Anaminus 4y agoI figured this would happen. I've also committed the even greater sin of testing in only one environment (my own). I guess we don't quite live in the future yet.