android - 移动设备的实际尺寸是多少?

标签 android ios css responsive-design

我想将 CSS 写入设备。在 devtools Galaxy S5 中,例如说大小是 360x640。

enter image description here

但根据screensiz website Galaxy S5 为 480x800。

enter image description here 哪一个是正确的?

最佳答案

手机的屏幕尺寸不一定与其网络浏览器的视口(viewport)尺寸相同。您应该根据浏览器视口(viewport)而不是实际像素大小来设计您的网站。

您可以阅读更多相关内容,并找到许多设备的视口(viewport)大小 here .

关于android - 移动设备的实际尺寸是多少?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59521854/

相关文章:

Android自定义形状按钮或imageview点击区域

html - 无法选择子元素

android - GPS 不工作

android - fragment View 膨胀错误 : Resource is not a drawable

页面之间的Android XML公共(public)元素?框架?

ios - Xamarin iOS 16.5 : certificate is "Not in Keychain"

ios - 为什么我得到 "[__NSArrayI allKeys]: unrecognized selector sent to instance"/为什么 NSDictionary 正在转换?

ios - AppDelegate 的用途是什么,我如何知道何时使用它?

html - 导航栏菜单项,已删除,现在是空白

jquery - 如何在响应式网站的图像源中添加宽度?