/ Published in: CSS
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
*Method One* @media screen and (min-width : 1200px) { /* let's do somethin' */ } *Method Two - Import* @import url( small.css ) screen and ( min-width: 1200px ); *Iphone Targeting* <link rel="stylesheet" media="only screen and (max-device-width: 480px)" href="mobile.css" />
URL: http://net.tutsplus.com/tutorials/html-css-techniques/quick-tip-a-crash-course-in-css-media-queries/