LG G5 Dimensions

5.3 INCH 5.88 x 2.91 x 0.30 INCH

LG G5 Resolution

1440 x 2560 PX ~ 554 Pixels Per Inch

LG G5 Viewport

360 x 640 PX ~ 139 Pixels Per Inch

LG G5 Density

4.0 xxxhdpi 4x Retina Display

OS Details

LG G5 has been launched in April 2016.
LG G5 have Android 6.0.1 (Marshmallow)

Screen Dimensions

LG G5 have 5.3 inch screen which is ~ 70.1% of actual device size. Physical dimensions for LG G5 device is 5.88 x 2.91 x 0.30 INCH or ( 149.4 x 73.9 x 7.7 MM).

Displaying of Units are in this order "Height x Width x Thickness"

Screen Pixel Density and CSS Pixel Ratio

"Pixel" is smallest unit/element of any display.

The total number of pixels that fit into an inch is referred to as "Screen Density" or "Pixel Density" and it measured as "Pixels Per Inch".
Pixel Desnsity have limits to display Pixels Per Inch depends on different screen sizes. When number of pixels per inch increases than it's screen-size limit, the Display resolution will increase but actual device width/height in pixels remain same. Actual device pixels are known as Device Independent Pixels or CSS Pixel Ratio.

LG G5 have ~ 554 pixel density and actual pixel density is about ~ 139 so it have 4.0 xxxhdpi display pixel density.

Screen Resolution and Viewport

The sum of pixels which are displaying on a device is called as "Screen Resolution". and sum of actual pixels of any device is reffered to as "Viewport".

LG G5 have 5.3" physical screen size and its resolution is about 1440 x 2560 Pixels with approximately 554 PPI pixel density. LG G5 has viewport size 360 x 640 Pixels and its pixel ratio is about 4.

For better understanding screen actual sizes, viewport sizes, display resolution and about their density click here.

CSS Media Queries

LG G5 Media Queries (In terms of Mobile only)

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

LG G5 Min-Width Media Queries

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

LG G5 Min-Height Media Queries

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

LG G5 Landscape Media Queries

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

LG G5 Portrait Media Queries

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

LG G5 Retina Media Queries

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

Retina is actually based upon device pixel ratio. Devices mostly have 2x or 3x display so you can use general retina media queries to display high resolution content on all kind of devices. Retina 2x and Retina 3x media queries given below:

Retina 2x Media Query

@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 Query

@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 */
}
                                

Summary

  • Launch Date April 2016
  • Android 6.0.1 (Marshmallow)
  • Physical Screen Size 5.3 INCH
  • Resolution 1440 x 2560 PX
  • Viewport Size 360 x 640 PX
  • Pixel Density 554 PPI
  • Device-Independent Pixels 139 PPI
  • Pixel Ratio 4.0 xxxhdpi
  • Width 1440 PX
  • Height 2560 PX
  • Device Width 360 PX
  • Device Height 640 PX
  • Dimensions 149.4 x 73.9 x 7.7 mm (5.88 x 2.91 x 0.30 in)
  • Weight 159 g - 5.61 oz

Disclaimer: Information collected from different top relevent websites. It is tried to keep the information correct.
If you find anything wrong email us info@yesviz.com