Codesnipp.it Social Code Sharing

Amber Weinberg

Detect iPhone Orientation With CSS

by Amber Weinberg on Apr 07, 2011

// landscape @media screen and (min-width: 321px) { div { } } // portrait @media screen and (min-width: 320px) { div { } }

Can't see the comments? Please login first :)