DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
how to lock device orientation using css and javascript
@media only screen and (orientation:portrait){ body { height: 100vw; transform: rotate(90deg); } }
Source by code-boxx.com #
PREVIOUS
NEXT
Tagged:
#lock
#device
#orientation
#css
#javascript
ADD COMMENT
Topic
COMMENT
Name
3+6 =
Submit