@media (max-width: 1200px) { .element { background: #bada55; } } @media (max-width: 480px) { .element { background: #d78965; } }