CSS Media queries are not used to lock display orientation 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) { … }