how to use media quety code example
Example 1: media query
@media only screen and (max-width: 600px) {
body {
background-color: lightblue;
}
}
Example 2: media query css for all devices
@media (min-width: 600px) and (max-width: 800px) {
/* your css code here */
/* html { background: red; } */
}