blob: 13b0db4d7e8aab906c25dc8cd8914afb63c0ee58 [file] [log] [blame]
<html>
<head>
<title>CSS3 media query test: Absolute width query (screen and (max-width: 800px)). Using style element, @media css rule.</title>
<link rel="help" href="http://www.w3.org/TR/css3-mediaqueries/#width" />
<style type="text/css">
@media screen and (max-width: 800px) {
p { color: green }
}
</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>