Window sizes for different devices

The Eddie’s Electronics example project has some code to detect if the browser is smaller than 420 x 420 pixels, and switch what is displayed to the user.

Is there any consensus on what device sizes I should test for to distinguish phone from tablet from dekstop browser?

Or is there a better way of testing this that I’ve missed?

Many thanks

Steve

Xojo Web uses Bootstrap for styling, so you could use the Bootstrap Breakpoints as a guide to view sizes.

2 Likes

Thanks Tim.

Steve