Have a Snippet?

Keep, track and share your code snippets with your friends



Tag "devicepixelratio" (1)


JavaScript: Get device pixel ratio (DPR) Share on Vkontakte

Returns pixel ratio based on devicePixelRatio or Media Query ... Reveal Code