CLOSE
Share |

Get screen density with JavaScript using window.devicePixelRatio DOM property

In mobile web app (specially in Android, various screen densities are provided), we can get screen density with JavaScript using window.devicePixelRatio DOM property. <!doctype html> <head> <title>Mobile-Web-App: Test Javascript&l...

read more
Close