Media query not working with height
<p>This is my media query for resolution with width of 1280 pixels:</p>

<pre><code>@media (min-width: 1270px) and (max-width: 1280px)
</code></pre>

<p>When I want to use seperate query for height like this:</p>

<pre><code>@media (min-width: 1270px) and (max-height: 960px)
</code></pre>

<p>It doesn't work. It's not showing even in the developer tools in chrome. Can I get some suggestions?</p>