So i was browsing the web to see if there was any solution to lock orientation. I have found this:
It states that with @viewport you should be able to lock orientation but i can’t find any information on support or whatever. I just tried
@viewport{
orientation: portrait;
}
But it does nothing, any toughts about this?
You need to add vendor prefix.
Example:
IE10
Read more http://msdn.microsoft.com/en-us/library/ie/hh708740(v=vs.85).aspx
Opera
Read more http://dev.opera.com/articles/view/an-introduction-to-meta-viewport-and-viewport/
http://docs.webplatform.org/wiki/css/atrules/@viewport