css media check if landscape mode code example
Example: detect portrait landscape css
@media screen and (orientation:portrait) { … }
@media screen and (orientation:landscape) { … }
@media screen and (orientation:portrait) { … }
@media screen and (orientation:landscape) { … }