Samsung S8 Dimensions
5.8 INCH 5.86 x 2.68 x 0.31 INCHSamsung S8 Resolution
1440 x 2960 PX ~ 568 Pixels Per InchSamsung S8 Viewport
360 x 740 PX ~ 142 Pixels Per InchSamsung S8 Density
4 xxxhdpi 4x Retina DisplayOS Details
Samsung Galaxy S8 has been launched in
April 2017.
Samsung Galaxy S8 have
Android 7.0 (Nougat)
Screen Dimensions
Samsung Galaxy S8 screen size is 5.8 inch with ~ 83.6% body ratio of actual device size. Physical dimensions for Samsung Galaxy S8 device is 5.86 x 2.68 x 0.31 INCH or ( 148.9 x 68.1 x 8 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.
Samsung Galaxy S8 resolution is 1440 x 2960 PX with ~ 568 pixel desnsity.
Samsung Galaxy S8 viewport size is 360 x 740 PX with ~ 142 actual pixel density, which means it have 4 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".
Samsung Galaxy S8 have 5.8" physical screen size and its resolution is about 1440 x 2960 Pixels with approximately 568 PPI pixel density. Samsung Galaxy S8 has viewport size 360 x 740 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
Samsung Galaxy S8 Media Queries (In terms of Mobile only)
@media only screen and (min-width: 360px) and (max-width: 767px) { /* Your Styles... */ }
Samsung Galaxy S8 Min-Width Media Queries
@media only screen and (min-width: 360px) { /* Your Styles... */ }
Samsung Galaxy S8 Min-Height Media Queries
@media only screen and (min-height: 740px) { /* Your Styles... */ }
Samsung Galaxy S8 Landscape Media Queries
@media only screen and (min-width: 740px) and (orientation: landscape) { /* Your Styles... */ }
Samsung Galaxy S8 Portrait Media Queries
@media only screen and (min-width: 360px) and (orientation: portrait) { /* Your Styles... */ }
Samsung Galaxy S8 Device Width Media Queries
@media only screen and (min-device-width: 360px) and (orientation: portrait) { /* Your Styles... */ }
@media only screen and (min-device-width: 740px) and (orientation: landscape) { /* Your Styles... */ }
Samsung Galaxy S8 Retina Media Queries
@media
only screen and (-webkit-min-device-pixel-ratio: 4),
only screen and ( min--moz-device-pixel-ratio: 4),
only screen and ( -o-min-device-pixel-ratio: 4/1),
only screen and ( min-device-pixel-ratio: 4),
only screen and ( min-resolution: 568dpi),
only screen and ( min-resolution: 4dppx) {
/* 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 */
}
Samsung Galaxy S8 Specifications
Disclaimer: Information collected from different top relevent websites. It is tried to keep the information correct.
If you find anything wrong email us [email protected]