<html> | |
<head> | |
<title>CSS3 media query test: Absolute width query (screen and (max-width: 800px)). Using link element, media attribute.</title> | |
<link rel="help" href="http://www.w3.org/TR/css3-mediaqueries/#width" /> | |
<link rel="stylesheet" type="text/css" media="screen and (max-width: 800px)" href="import-p-green.css" /> | |
</head> | |
<body> | |
<p> This text should be green if viewport is at most 800px wide.</p> | |
<div style="width: 800px; background-color:lightblue;">div of width 800px</div> | |
</body> | |
</html> |