4 ms·
How do you manage design and implement such a basic website (thanks, I like that) and still screw up something like zooming? Seems there is a JS library or some
by capableweb 7y ago
How do you manage design and implement such a basic website (thanks, I like that) and still screw up something like zooming? Seems there is a JS library or something that adds `font-size: 51.39%;` automatically to the HTML tag in the markup, effectively killing zooming...
- chrismorgan 7y agoThat’s what you get when you define font sizes relative to the viewport size. I’d say “disable JavaScript” since this one is JavaScript-induced rather than just `font-size: 5vw` or similar, but the body element has `style="visibility: hidden"` which is removed by JavaScript, so you’ll get a blank page for your trouble. And the squiggle and other images use <img data-src> which is turned into <img src> by JavaScript. I still haven’t decided which I hate more, pure-JS pages that should have been plain HTML, or pages that are gratuitously hidden in CSS and then unhidden in JavaScript… so long as you run it.
- buckminster 7y agoThis is one of those "hidden in CSS" sites so disabling JS doesn't help. Anyway, the squiggle is a disappointment. Closing the tab is the best option.