3 ms·
>The browser will interpret it for you and use whatever number of pixels it determines is best). Until you zoom Mobile browsers might zoom the content as if i
by TheRealPomax 3y ago
>The browser will interpret it for you and use whatever number of pixels it determines is best).
Until you zoom
Mobile browsers might zoom the content as if it's an image, scaling the entire viewport, but desktop browsers very much do not. Plus, working in rem instead of px is super easy, barely an inconvenience. And now it works on both mobile and desktop. Amazing.
- legitster 3y ago> Mobile browsers might zoom the content as if it's an image, scaling the entire viewport, but desktop browsers very much do not. What browser are you using? If you zoom up this very HN page in Chrome or Firefox it will grow the content without spilling over the readable area. This works just as well with pixels as it does with rem.