Gets the device resolution (the ratio between physical device pixels and DPI-adjusted logical CSS pixels).
The device pixel ratio
The devicePixelRatio is similar to the device resolution calculated for Media Queries, except the output is in dots-per-pixel instead of dots-per-inch. In other words,
Build date: 2/14/2014