css @media tag code example
Example 1: media query
@media only screen and (max-width: 600px) {
body {
background-color: lightblue;
}
}
Example 2: media rule css
@media only screen and (min-width: 1000px) {
/* place here CSS for when the screen is more than 1000px wide */
.card {
width: 50%;
}
}