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