What are media queries in CSS?

Used for responsive design.

@media (max-width: 600px) {
  body { background: lightblue; }
}

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *