News for hackers. Stuff that matters.
Re:My Current HTML Boilerplate by SahAssar on Tuesday April 27, 2021 @03:20AM (#26953040)
It sets mobile browsers use actual widths and not emulate desktop width.
Re:My Current HTML Boilerplate by la_fayette on Tuesday April 27, 2021 @07:25AM (#26954493)
it is not exactly the actual width of the device, but the default viewport width, given in CSS pixels. E.g. for the iphone 6 it is 375 pixel, although the physical width is 750 pixel...
Re:My Current HTML Boilerplate by SahAssar on Tuesday April 27, 2021 @10:46AM (#26956614)
Yeah, but the same is true for desktops/laptops that use scaling. I think that people are used to the fact that 1 render pixel does not always equal 1 physical pixel.