4 ms·
A phone with less than 700px width in 2020? The sites I work with have small screens at around 1000-1200 px width. 700 is more like a wap feature phone..
by Dahoon 6y ago
A phone with less than 700px width in 2020? The sites I work with have small screens at around 1000-1200 px width. 700 is more like a wap feature phone..
- asalahli 6y agoiPhone SE came out in 2016 and has a resolution of 640x1136. I still use it.
- ehsanu1 6y agoCss width is probably 320px on that too. Css pixels are not screen pixels.
- zelphirkalt 6y agoCan anyone explain this? Why are these pixels not the same as physical pixels, like I asume to be on a computer screen?
- ehsanu1 6y agohttps://webplatform.github.io/docs/tutorials/understanding-css-units/#So%E2%80%A6-a-pixel-is-not-a-pixel-and-an-inch-is-not-an-inch https://webplatform.github.io/docs/tutorials/understanding-c...?
- zelphirkalt 6y agoNo, I meant: Explain why pixels on smart phones are not physical pixels, as I would expect them to be. Why does a phone need to act differently, kind of dishonest about its pixels?
- ako 6y agoBecause it ensures a page is useable on a mobile phone, even if the author didn’t take mobile into account: the screen can accommodate for about as much information as a regular 320px computer screen. If you try to use every pixel as you would on a regular screen it would be illegible for most users.
- reificator 6y ago> Explain why pixels on smart phones are not physical pixels, as I would expect them to be. Why does a phone need to act differently, kind of dishonest about its pixels? The phone is not acting differently. The phone is acting according to the specification, which is that a pixel is 1/96th of an inch. This happens on all devices, not just phones. From the spec: > The absolute length units are fixed in relation to each other and anchored to some physical measurement. They are mainly useful when the output environment is known. The absolute units consist of the physical units (in, cm, mm, pt, pc, Q) and the visual angle unit (px): > 1in = 2.54cm = 96px https://developer.mozilla.org/en-US/docs/Glossary/CSS_pixel https://developer.mozilla.org/en-US/docs/Glossary/CSS_pixel https://drafts.csswg.org/css-values-3/#absolute-lengths https://drafts.csswg.org/css-values-3/#absolute-lengths
- reificator 6y agoBecause after a short lived attempt to educate uninterested web developers about px vs em vs.... browsers decided the easiest way forward was to give up and lie.
- cocire 6y agoThe newer generation of the SE came out this year (2020) and works great too
- reaperducer 6y agoA phone with less than 700px width in 2020? On a mobile device, web display pixels (logical pixels) are not the same as physical pixels. An iPhone SE's logical width is 320px. An iPhone 8 is 375px. An iPhone 8 Plus is 414 px. An iPad is 768px. 700 is more like a wap feature phone WAP phones were closer to 180px. I know because I built local WAP news and weather sites for them. Squeezing color radar maps into 180px was... interesting.
- rriepe 6y ago> An iPhone SE's logical width is 320px. I always forget about this one. Thanks for ruining my afternoon.
- cocire 6y agoI love my iPhone SE since I can easily use it one-handed without worrying about dropping a $1,000 electronic device
- tomc1985 6y agoI did too, but with battery health at 91% I'd get maybe an hour of heavy use (and 12hr of light use) before having to charge it
- rriepe 6y agoIt's a great phone. I'm just building a thing that needs to support it, and I was treating 380px as the lower end of things.
- deleted 6y ago[deleted]
- benrbray 6y agoEven on desktop I always have two windows open side-by-side. Normally it's VS Code and Chrome, so I can reference documentation while coding, or take Markdown notes while reading. Most websites seem not to be designed for this use case, which is a shame since the solution is usually setting min-width to a smaller value.
- Zak 6y agoMulti-display or a huge single display and a cooperate window manager is a real game changer for productivity... unless of course "desktop" actually means a laptop used away from a desk.