<html>
<body>
<p style="color: green">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>
<html>
<body>
<p style="color: green">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>