media div maxheight code example
Example 1: media max height css
@media only screen and (max-height: 500px) {
/* place here CSS for when the screen is less than 500px tall */
.card {
width: 100%;
}
}
Example 2: maxheight media query
@media screen and (max-width: 995px),
screen and (max-height: 700px) {
...
}