You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wish there could be some way I could get the DPI of the screen, I have a requirement where the user will define the dimensions of the buttons on my web page in cm/mm and I need to display them in these dimensions but as far as I have read I need to have the DPI of the screen in order to convert cm/mm into pixels.
The text was updated successfully, but these errors were encountered:
If a regular media query can't do it, then matchMedia won't either — matchMedia serves only as a polyfill to browsers that do not support the matchMedia JS API.
I wish there could be some way I could get the DPI of the screen, I have a requirement where the user will define the dimensions of the buttons on my web page in cm/mm and I need to display them in these dimensions but as far as I have read I need to have the DPI of the screen in order to convert cm/mm into pixels.
The text was updated successfully, but these errors were encountered: