Re:Ask HN: Do you still optimize/test websites for Firefox
by poundofshrimp on Saturday May 15, 2021 @12:03PM
(#27166383)
Using a good library is not enough. For a simple example, try setting “height: 100vh;” on the body, and then open the page on an iPhone. You may be surprised that the height of the body does not fit into the screen and a scroll appears (I was, when I learnt about it). Similarly, there are many small differences that exist between Desktop <> Mobile or Chrome <> Safari. Sometimes the differences are significant enough to make your page appear completely broken.
Re:Ask HN: Do you still optimize/test websites for Firefox
by tofukid on Saturday May 15, 2021 @10:33PM
(#27170744)
Instead of writing custom CSS you could use or develop a UI library that targets browsers consistently, and use that.
Re:Ask HN: Do you still optimize/test websites for Firefox
by speedgoose on Sunday May 16, 2021 @01:15AM
(#27171392)
Have you discovered this holy grail library yet?
We often set ourselves up for failure by using JS APIs that don’t work across browsers, or hand rolling UI/CSS for each project.