Skip to content

Instantly share code, notes, and snippets.

@aamorozov
aamorozov / MediaQ.css
Last active January 9, 2024 23:36
Media Queries for mobile/tablet devices(WIP)
/*Reference:
http://www.canbike.org/CSSpixels/
https://css-tricks.com/snippets/css/retina-display-media-query/
http://stephen.io/mediaqueries/
Requires the meta viewport tag with content 'width=device-width'
For all devices with "unusual" pixel ratio i.e retina and etc include the following depending on device:
(-webkit-min-device-pixel-ratio: 1)