Mobile Media Queries: Beyond the Breaking Points
It’s been a while since I’ve updated this thing. I’ve just been working so quickly and so much on SO MANY things. I’ll post in more detail about those things later.
Anyway, I’m doing a lot of mobile development and came across some very handy Media Queries that will help your CSS target, not just different pixel widths, but different devices. Primarily the different iPhone screen sizes using aspect ratios:
iPhone < 5:
@media screen and (device-aspect-ratio: 2/3) {}iPhone 5:
@media screen and (device-aspect-ratio: 40/71) {}iPad:
@media screen and (device-aspect-ratio: 3/4) {}
Hope this helps someone else! Found it through stackoverflow from 2C-B

