| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Dokkio Sidebar applies AI to make browsing the web faster and more productive. Whenever you open Sidebar, you'll get an AI summary of the web page and can ask any question you like about the content of the page! Try Dokkio Sidebar for free.

View
 

MediaQueries

Page history last edited by Tantek 13 years, 5 months ago

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.

 

Comments (0)

You don't have permission to comment on this page.