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

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -