DEV Community

Discussion on: Smallest-viewport first

Collapse
 
joelbennett profile image
Joel Bennett

It's also not just about viewport size in pixels, you may also need to take into account the viewport resolution. Let's say we've got two devices - one that has a 5" screen at 328 pixels per inch, and another that has a 24" screen at 72 pixels per inch. It's almost like you need to specify the minimum and maximum physical size of a given UI element. On a mobile device, I'd be curious to know how many people would be able to consistently hit a UI element that is smaller than, say, 5 mm x 5 mm. At the same time, on a much larger display, you may not need to have something displayed 3" wide if the user is using a keyboard and mouse, but maybe that 3" wide is totally fine if it's a touch screen kiosk.

I think there's a reason a lot of people get it wrong - because it's not easy!

Collapse
 
nimmo profile image
Nimmo

Oh totally, I'm absolutely not judging anyone for "getting it wrong". I just think that the first step to getting it "right" is through more sensible terminology. :-)