<html> | |
<head> | |
<title>CSS3 media query test: Absolute width query (screen and (max-width: 800px)). Using style element, @import css rule.</title> | |
<link rel="help" href="http://www.w3.org/TR/css3-mediaqueries/#width" /> | |
<style type="text/css"> | |
@import url(import-p-green.css) screen and (max-width: 800px); | |
</style> | |
</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> |