What are the device-width css for iphone7 plus?

amir picture amir · Oct 2, 2016 · Viewed 17.8k times · Source

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/

Answer

Ivan Maslov picture Ivan Maslov · Oct 21, 2016

iPhone 7 has same device width/height as the iPhone 6: 375x667 iPhone 7 plus according the same: 414x736