Mobile Web Application Screen Orientation Design -
i'm designing user interface web page viewed on mobile device through device's browser. common design 2 interfaces, 1 portrait , 1 landscape? portrait view looks fine when flip landscape things of course stretched. ideas on best practice here?
it common practice design 2 interfaces different window orientations. check window orientation.
//listen resize changes window.addeventlistener("resize", function() { // screen size (inner/outerwidth, inner/outerheight) }, false);
every time changes, apply different css classes portrait , landscape modes elements on web page.
Comments
Post a Comment