CSS

body { background: #f0f0f0; }
@media all and (max-width: 600px) {
body { background: #fc0; }
}