<html> | |
<body> | |
<p style="color: green">This text should be green if viewport is wider than 30em. This tests that (max-width: 30em) can evaluate to false.</p> | |
<div style="width: 30em; background-color: lightblue;">div of length 30 em</div> | |
<div style="width: 800px; background-color: lightblue;">div of length 800px</div> | |
</body> | |
</html> |