how to check screen orientation in web with css code example
Example: screen rotation in css
@media screen and (orientation:portrait) { … }
@media screen and (orientation:landscape) { … }
@media screen and (orientation:portrait) { … }
@media screen and (orientation:landscape) { … }