css3 - Combining specific media queries in CSS -


I'm looking to apply styles to a very specific set of width / height combinations.

I currently have two combo different, but I have several other combinations:

  @ media only screen and (width: 468 px) and (Height: 60px) {.header {height: 100%; }} @ Media only screen and (width: 728 px) and (height: 90px) {.header {height: 100%; }   

I have tried unsuccessfully to combine them into a media query. Is this possible?

Many thanks.

You can try this:

  @ Media only screen And (width: 468 px) and (height: 60px), only the screen and (width: 728 px) and (height: 90px) {.header {height: 100%; }}    

Comments

Popular posts from this blog

Out of index C/C++ -

regex - PatternSyntaxException: while using String.ReplaceAll function in java? -

objective c - how Set autolayout for multiple dynamic buttons and labells in iOS? -