Tag Archives: orientation

Apply CSS styles based on device orientation

When developing web-apps for mobile a need that we encounter sooner or later is to supply specific styles to certain elements when the device rotates either in portrait or landscape mode. Being a CSS need the first method we will likely find while googling the subject is a CSS approach which uses the famous media … Continue reading Apply CSS styles based on device orientation