rotate is not working when we rotate the screen in angular code example
Example: how to lock device orientation using css and javascript
@media only screen and (orientation:portrait){
body {
height: 100vw;
transform: rotate(90deg);
}
}
@media only screen and (orientation:portrait){
body {
height: 100vw;
transform: rotate(90deg);
}
}