When I set viewport to preset:
When I set viewport to {string} Copy
When I set viewport to {string}
When I set viewport to preset and orientation:
When I set viewport to {string} and {string} Copy
When I set viewport to {string} and {string}
Preset supports the following options:
ipad-2
ipad-mini
iphone-3
iphone-4
iphone-5
iphone-6
iphone-6+
iphone-7
iphone-8
iphone-x
iphone-xr
iphone-se2
macbook-11
macbook-13
macbook-15
macbook-16
samsung-note9
samsung-s10
The default orientation is portrait.
portrait
Resize viewport to iPhone 6 width and height (375px x 667px):
When I set viewport to "iphone-6" Copy
When I set viewport to "iphone-6"
Resize viewport to iPhone 6 width and height and change orientation to landscape:
When I set viewport to "iphone-6" and "landscape" Copy
When I set viewport to "iphone-6" and "landscape"
Controls the size and orientation of the screen for your application.
When I set viewport to preset:
When I set viewport to preset and orientation:
Preset supports the following options:
ipad-2
ipad-mini
iphone-3
iphone-4
iphone-5
iphone-6
iphone-6+
iphone-7
iphone-8
iphone-x
iphone-xr
iphone-se2
macbook-11
macbook-13
macbook-15
macbook-16
samsung-note9
samsung-s10
The default orientation is
portrait
.