Answers for "how to write media query with two size"

CSS
1

css media queries between two sizes

/* No greater than 900px, no less than 400px */
@media (max-width:900px) and (min-width:400px) {
    .foo {
        display:none;
    }
}
Posted by: Guest on August-07-2021
0

how to combine two screen sizes in media queries css

@media (min-width: 30em) and (max-width: 50em) { ... }
Posted by: Guest on September-10-2020

Code answers related to "how to write media query with two size"

Browse Popular Code Answers by Language