16 lines
386 B
HTML
16 lines
386 B
HTML
<html>
|
|
<head>
|
|
<title>CSS3 media query test: media query without values (screen and (color)). Using style element, @media css rule.</title>
|
|
<link rel="help" href="http://www.w3.org/TR/css3-mediaqueries/#color" />
|
|
|
|
<style type="text/css">
|
|
@media screen and (color) {
|
|
p { color: green }
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p> This text should be green if color display is used.</p>
|
|
</body>
|
|
</html>
|