media min height css

Solutions on MaxInterview for media min height css by the best coders in the world

showing results for - "media min height css"
Yael
17 Jul 2018
1@media only screen and (max-height: 500px) {
2  /* place here CSS for when the screen is less than 500px tall */
3  .card {
4    width: 100%;
5  }
6}
Giovanni
17 Jun 2018
1@media only screen and (min-height: 500px) {
2  /* place here CSS for when the screen is more than 500px tall */
3  .card {
4    background: #111;
5  }
6}