<!DOCTYPE html>
<html lang="en-US">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body{
color:red;
}
@media (max-width: 630px){
body{
color:blue;
}
}
</style>
</head>
<body>
<h1>CSS @media Rule</h1>
<p><strong>Note</strong>: Resize this output window to see the change.</p> </body>
</html>