How do I make a media query by height?

Is it possible to set @media queries by height. For example, we can set,

@media only screen and (max-width : 1600px){}

I.e. if the screen is less than 1600 then these styles are

Is it possible to somehow set if the height is less than 720 then these styles If so, how is the height calculated. I.e., the height of the browser( with or without bookmarks , search, etc.)?

Author: Alexandr_TT, 2019-05-14

1 answers

Of course, you can, and in some cases, you need to

Read

@media only screen and (max-height: 300px) {
  body {
    background: red;
  }
}
 2
Author: Air, 2019-05-14 11:34:09