MediaQueries


CSS3 Media Queries

 

This page documents a few resources for learning/using CSS3 Media Queries and references for browser support.

 

Simple Mobile @-rule

Works for Android Webkit; need to test BlackBerry Bold, Palm Pre, iPhone.

@media handheld, screen and (max-device-width: 480px) {
/* enter style rules like "body { padding:2em }" here */
}

 

W3C spec 

 

Firefox support

 

WebKit support

Safari and iPhone Safari both use WebKit.

 

 

Old URLs

 


Return to FrontPage.