Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Working on Bedrock2

Wolfr Wolfr

💭
Working on Bedrock2
View GitHub Profile
@marcedwards
marcedwards / high-dpi-media.css
Last active Sep 10, 2020
A CSS media query that captures almost all high DPI aware devices.
View high-dpi-media.css
/* ---------------------------------------------------------- */
/* */
/* A media query that captures: */
/* */
/* - Retina iOS devices */
/* - Retina Macs running Safari */
/* - High DPI Windows PCs running IE 8 and above */
/* - Low DPI Windows PCs running IE, zoomed in */
/* - Low DPI Windows PCs and Macs running Firefox, zoomed in */
/* - Android hdpi devices and above */
You can’t perform that action at this time.