Features Samsung Galaxy S20 FE

Résolution du viewport CSS mobile

Viewport resolution (CSS rules)

This is the resolution that interests designers and developers the most as it determines breakpoints and media query definitions. Generally, only this resolution is discussed.
Regarding Samsung Galaxy S20 FE, it is:

  • 412 pixels in width
  • 914 pixels in height ⚠️ height is indicative as the Safari, Chrome, etc. browser reduces the visible area

ℹ️ Some analytics tools only display the manufacturer resolution (below) and not the one presented above, so be careful when interpreting results.


Coming soon in the simulator

Test your responsive site on a similar model thanks to the browser extension.
It's free and can be activated in 2 clicks.

Install the Chrome extension

Pixel density

On Samsung Galaxy S20 FE it is 2.625

If you want to target devices in CSS with at least this pixel density, you can use this media query.

                        
                            @media only screen and (-webkit-min-device-pixel-ratio: 2.625) {
    /* CSS */
}

Also in JavaScript, it is possible to retrieve the pixel density value.

                        
                            window.devicePixelRatio
// Which will return the number 2.625

Manufacturer resolution Samsung Galaxy S20 FE

Given the pixel density, this gives:

  • 1080 pixels in width
  • 2400 pixels in height