media min height css
@media only screen and (max-height: 500px) {
/* place here CSS for when the screen is less than 500px tall */
.card {
width: 100%;
}
}
3.89
9
@media only screen and (min-height: 500px) {
/* place here CSS for when the screen is more than 500px tall */
.card {
background: #111;
}
}
Thank you!
9
0
Are there any code examples left?
New code examples in category CSS