Professional Documents
Culture Documents
Responsive Web Design
Responsive Web Design
Responsive?
Think of a viewport as the virtual canvas on which your
CSS will render. With different devices, screens can be as
small as 2” or as large as 48”…and their resolution may
vary too.
Viewport?
<link rel="stylesheet" media="screen and (min-width:320px)
and (max-width:480px)" href="css/mobile.css" />
Viewport! Viewport!
The standard:
http://www.w3.org/TR/css3-mediaqueries/
@media screen{
Body {background: #ff0000;}
}
@media print {
Body {background: #fff;}
}
http://www.responsinator.com/
Responsive Themes?