"The browser or device determines the orientation by listening to the width and height of the window. If the height is greater than the width, the window is in portrait mode. If the width is greater than the height in landscape mode."
Additional information: http://www.1stwebdesigner.com/css/how-to-use-css3-orientation-media-queries/
Basically, you need to resize your browser window so that the portty css orientation takes effect.
If you open firebug in a browser window, i.e. firebug is at the bottom, the height of the browser window changes, which leads to the fact that the orientation becomes a landscape, and you lose the style of your portrait. For firebug and chrome developer tools, try running the tools in your own window so that your browser size is not affected.
PS. I would use Firebug for such editing, because you can clearly see the change in css when resizing the browser.
marissajmc
source share