/ Published in: CSS
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
html <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/> <body ontouchmove="event.preventDefault();"> css @media only screen and (orientation: landscape) { /*Landscape css*/ }