Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are the device-width css for iphone7 plus?

I need to detect the devices for IOS devices by JS, for iphone-6 I check it by the ratio and devicePixelRatio, I didn't find any information to check if the device is iPhone 7 plus.

I found information for the older devices,

What are the device-width css viewport sizes of the iPhone6 and iPhone 6 Plus

or this

http://mydevice.io/devices/

like image 484
amir Avatar asked Oct 02 '16 08:10

amir


1 Answers

You can easily detect your device CSS width and height by single clicking this link: http://viewportsizes.com/mine/

For iPhone 6 its 375px X 667px
For iPhone 6+ its 375px x 667px
For iPhone 7 its 375px X 667px
For iPhone 7+ its 414px x 736px

like image 199
Kapil Kshirsagar Avatar answered Sep 19 '22 23:09

Kapil Kshirsagar