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%; } }
Source: www.youtube.com
media min height css
@media only screen and (min-height: 500px) { /* place here CSS for when the screen is more than 500px tall */ .card { background: #111; } }
Source: www.youtube.com