Screen Rotation In Css May 23, 2022 by Rajeswari Palanivel screen rotation in css @media screen and (orientation:portrait) { … } @media screen and (orientation:landscape) { … } Source: stackoverflow.com