Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Javascript
how to lock device orientation using css and javascript
elc
Programming language:
Javascript
2021-06-25 09:26:42
0
Q:
how to lock device orientation using css and javascript
Catidew
Code:
Javascript
2021-05-04 02:35:43
@media only screen and (orientation:portrait){ body { height: 100vw; transform: rotate(90deg); } }
2
Tags
java
javascript
using
css
device
how
Related
how to adjust brightness with a slider in javascript
how to change css using javascript
how to get orientation in js
vibrate javascript
javascript change css opacity duration
javascript modify css
game rotate js
js change canvas resolution
javascript landscape generator
New to Communities?
Join the community