1. Home
  2. Css
  3. Media query - orientation portrait

Target device's orientation. Use landscape or portrait value.

#css#media#responsive
@media screen and ( orientation: portrait ) {
    ...
}
copy
Full Css cheatsheet