responsive design - Media Queries for Microsoft Surface Pro 3 & Surface Pro 4 -


what's best way write media queries surface pro 3 & 4? in both landscape & portrait views?

the best way not write media queries specific devices @ all, rather identify logical places in design fold elements in or break them out accordingly, account devices of width.

see article more info: google developers—how choose breakpoints

in practice, resolutions of 2 devices mentioned 2160x1440 (surface pro 3) , 2736x1824 (surface pro 4). so, instead of setting 4 breakpoints media queries, 1 logical approach design "greater 2000px", "between 1200px , 2000px", , "under 1200px"—the first rule handling both devices mentioned in landscape mode (also handling common desktop resolutions), second rule handling both devices in portrait mode (and many other common portable devices), , last rule handling devices of sizes under 1200px.

this 1 way tackle problem, i'd recommend research more common theories behind responsive design , breakpoint selection.


Comments

Popular posts from this blog

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -