Because only screen is considered a media feature the same as (min-width: 320px), (max-width: 480px) and (orientation: portrait), so by adding and you’re making it sure that you’re targeting a screen at the width you want your CSS to be applied.
Delete the media query in the above page and replace it with:
@media only screen and (min-width:320px) and (max-width:360px), (orientation: landscape) {
body {
background-color: lightblue;
}
}
Click the Run button
Drag the divider (between editor and browser) to resize the screen. You will see that (when width is in the range 320-360px) OR (when width becomes greater than height [i.e. landscape]), then the background color changes to blue. When both rules are false, the normal background color is seen.