iPhone XS 尺寸

5.8 INCH 5.65 x 2.79 x 0.30 INCH

iPhone XS 解析度

1125 x 2436 PX ~ 458 每英吋像素數

iPhone XS 視窗

375 x 812 PX ~ 153 每英吋像素數

iPhone XS 像素密度

3 xxhdpi 3x Retina 顯示器

作業系統詳情

Apple iPhone XS 於 September 2018.
Apple iPhone XS 搭載 iOS 12

螢幕尺寸

Apple iPhone XS 螢幕尺寸為 5.8 英吋 ,約 82.9% 佔裝置實際尺寸的比例。 Apple iPhone XS 的實體尺寸為 5.65 x 2.79 x 0.30 英吋( 143.6 x 70.9 x 7.7 毫米)。

顯示單位順序為「高度 x 寬度 x 厚度」

螢幕像素密度與 CSS 像素比

「像素」是任何顯示器中最小的單位/元素。

每英吋能容納的像素總數稱為「螢幕密度」或「像素密度」,以「每英吋像素數」(PPI)表示。
像素密度對不同螢幕尺寸的顯示有其上限。當每英吋像素數超過螢幕尺寸上限時,顯示解析度會提升,但裝置的實際寬高像素數不變。實際裝置像素又稱為裝置獨立像素或 CSS 像素比。


Apple iPhone XS 解析度為 1125 x 2436 PX ,具有 ~ 458 像素密度。
Apple iPhone XS 視窗大小為 375 x 812 PX ,約 153 實際像素密度,即具有 3 xxhdpi 顯示像素密度。

螢幕解析度與視窗

裝置上顯示的像素總數稱為「螢幕解析度」,裝置的實際像素總和稱為「視窗」。

Apple iPhone XS 搭載 5.8" 英吋的實體螢幕,解析度約為 1125 x 2436 像素,約 458 PPI 像素密度。 Apple iPhone XS 的視窗大小為 375 x 812 像素,像素比約為 3.

如需進一步了解螢幕實際尺寸、視窗大小、顯示解析度及像素密度 請點此.

CSS 媒體查詢

Apple iPhone XS Media Queries (僅限行動裝置)

@media only screen and (min-width: 375px) and (max-width: 767px) { /* Your Styles... */ }

Apple iPhone XS 最小寬度媒體查詢

@media only screen and (min-width: 375px) { /* Your Styles... */ }

Apple iPhone XS 最小高度媒體查詢

@media only screen and (min-height: 812px) { /* Your Styles... */ }

Apple iPhone XS 橫向媒體查詢

@media only screen and (min-width: 812px) and (orientation: landscape) { /* Your Styles... */ }

Apple iPhone XS 縱向媒體查詢

@media only screen and (min-width: 375px) and (orientation: portrait) { /* Your Styles... */ }

Apple iPhone XS Retina 媒體查詢

@media
  only screen and (-webkit-min-device-pixel-ratio: 3),
  only screen and (   min--moz-device-pixel-ratio: 3),
  only screen and (     -o-min-device-pixel-ratio: 3/1),
  only screen and (        min-device-pixel-ratio: 3),
  only screen and (                min-resolution: 458dpi),
  only screen and (                min-resolution: 3dppx) { 
    /* Retina styles here */
}
                                

Retina 實際上以裝置像素比為基礎。大多數裝置具有 2x 或 3x 顯示,因此可使用通用 Retina 媒體查詢在各種裝置上顯示高解析度內容。以下為 Retina 2x 及 Retina 3x 媒體查詢:

Retina 2x 媒體查詢

@media
  only screen and (-webkit-min-device-pixel-ratio: 2),
  only screen and (   min--moz-device-pixel-ratio: 2),
  only screen and (     -o-min-device-pixel-ratio: 2/1),
  only screen and (        min-device-pixel-ratio: 2),
  only screen and (                min-resolution: 192dpi),
  only screen and (                min-resolution: 2dppx) { 
    /* Retina styles here */
}
                                

Retina 3x 媒體查詢

@media
  only screen and (-webkit-min-device-pixel-ratio: 3),
  only screen and (   min--moz-device-pixel-ratio: 3),
  only screen and (     -o-min-device-pixel-ratio: 3/1),
  only screen and (        min-device-pixel-ratio: 3),
  only screen and (                min-resolution: 384dpi),
  only screen and (                min-resolution: 3dppx) { 
    /* Retina styles here */
}
                                

Apple iPhone XS 規格

  • 發布日期 September 2018
  • iOS 12
  • 實體螢幕尺寸 5.8 INCH
  • 解析度 1125 x 2436 PX
  • 視窗大小 375 x 812 PX
  • 像素密度 458 PPI
  • 裝置獨立像素 153 PPI
  • 像素比 3 xxhdpi
  • 寬度 1125 PX
  • 高度 2436 PX
  • 裝置寬度 375 PX
  • 裝置高度 812 PX
  • 尺寸 143.6 x 70.9 x 7.7 mm (5.65 x 2.79 x 0.30 in)
  • 重量 177 g - 6.24 oz

免責聲明:資訊來源於各相關網站,力求準確。若發現任何錯誤,請來信: [email protected]