media element in css code example
Example: 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%;
}
}
@media only screen and (min-width: 1000px) {
/* place here CSS for when the screen is more than 1000px wide */
.card {
width: 50%;
}
}