css concatenate media queries code example Example: how to combine two screen sizes in media queries css @media (min-width: 30em) and (max-width: 50em) { ... }