Google Pixel 2 尺寸
5.0 INCH 5.74 x 2.74 x 0.31 INCHGoogle Pixel 2 解析度
1080x1920 PX ~ 441 每英吋像素數Google Pixel 2 視窗
412 x 732 PX ~ 168 每英吋像素數Google Pixel 2 像素密度
2.625 xxhdpi 2.625x Retina 顯示器作業系統詳情
Google Pixel 2 於
October 2017.
Google Pixel 2 搭載
Android 8.0 (Oreo)
螢幕尺寸
Google Pixel 2 螢幕尺寸為 5.0 英吋 ,約 67.9% 佔裝置實際尺寸的比例。 Google Pixel 2 的實體尺寸為 5.74 x 2.74 x 0.31 英吋( 145.7 x 69.7 x 7.8 毫米)。
顯示單位順序為「高度 x 寬度 x 厚度」螢幕像素密度與 CSS 像素比
「像素」是任何顯示器中最小的單位/元素。
每英吋能容納的像素總數稱為「螢幕密度」或「像素密度」,以「每英吋像素數」(PPI)表示。
像素密度對不同螢幕尺寸的顯示有其上限。當每英吋像素數超過螢幕尺寸上限時,顯示解析度會提升,但裝置的實際寬高像素數不變。實際裝置像素又稱為裝置獨立像素或 CSS 像素比。
Google Pixel 2 解析度為 1080x1920 PX ,具有 ~ 441 像素密度。
Google Pixel 2 視窗大小為 412 x 732 PX ,約 168 實際像素密度,即具有 2.625 xxhdpi 顯示像素密度。
螢幕解析度與視窗
裝置上顯示的像素總數稱為「螢幕解析度」,裝置的實際像素總和稱為「視窗」。
Google Pixel 2 搭載 5.0" 英吋的實體螢幕,解析度約為 1080x1920 像素,約 441 PPI 像素密度。 Google Pixel 2 的視窗大小為 412 x 732 像素,像素比約為 2.625.
如需進一步了解螢幕實際尺寸、視窗大小、顯示解析度及像素密度 請點此.
CSS 媒體查詢
Google Pixel 2 Media Queries (僅限行動裝置)
@media only screen and (min-width: 412px) and (max-width: 767px) { /* Your Styles... */ }
Google Pixel 2 最小寬度媒體查詢
@media only screen and (min-width: 412px) { /* Your Styles... */ }
Google Pixel 2 最小高度媒體查詢
@media only screen and (min-height: 732px) { /* Your Styles... */ }
Google Pixel 2 橫向媒體查詢
@media only screen and (min-width: 732px) and (orientation: landscape) { /* Your Styles... */ }
Google Pixel 2 縱向媒體查詢
@media only screen and (min-width: 412px) and (orientation: portrait) { /* Your Styles... */ }
Google Pixel 2 裝置寬度媒體查詢
@media only screen and (min-device-width: 412px) and (orientation: portrait) { /* Your Styles... */ }
@media only screen and (min-device-width: 732px) and (orientation: landscape) { /* Your Styles... */ }
Google Pixel 2 Retina 媒體查詢
@media
only screen and (-webkit-min-device-pixel-ratio: 2.625),
only screen and ( min--moz-device-pixel-ratio: 2.625),
only screen and ( -o-min-device-pixel-ratio: 2.625/1),
only screen and ( min-device-pixel-ratio: 2.625),
only screen and ( min-resolution: 441dpi),
only screen and ( min-resolution: 2.625dppx) {
/* Retina styles here */
}
Retina 實際上以裝置像素比為基礎。大多數裝置具有 2x 或 3x 顯示,因此可使用通用 Retina 媒體查詢在各種裝置上顯示高解析度內容。以下為 Retina 2x 及 Retina 3x 媒體查詢:
Retina 2x 媒體查詢(適用於所有支援 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 媒體查詢(適用於所有支援 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 */
}
Google Pixel 2 規格
免責聲明:資訊來源於各相關網站,力求準確。若發現任何錯誤,請來信: [email protected]