미디어 쿼리는 특정 미디어에서 어떤 css를 적용할 것인지 지정한다.
기본형태 : @media [ only | not ] 미디어 유형 [and 조건] * [and 조건]
미디어 유형 : all, print, screen, tv, aural, braille, handheld, projection, tty, embossed
only를 붙이면 미디어쿼리를 지원하지 않는 웹 브라우저에서는 미디어쿼리를 무시하고 실행하지 않는다.
not를 붙이면 다음에 오는 미디어 유형을 제외하고 남은 유형에만 적용한다.
@media screen and (min-width: 1440px) {}
@media screen and (min-device-width: 375px) and (min-device-height: 812px) {}
@media screen and (min-device-width: 812px) and (orientation: landscape) {}