<meta name="viewport" content="width=device-width, initial-scale=1.0">@media screen and (min-width: 최소사이즈) and (max-width: 최대사이즈) and (orientation: 화면 형태){...}@media screen and(max-width: 1000px){background-color: red;}
@media screen and(max-width: 1300px){background-color: blue;}
@media screen and(max-width: 1600px){background-color: green;}위와같이 하면 0~1000px일 때 red, 1001~1300px일 때 blue, 1301~1600px일 때 green으로 된다.