<div class="small-tomato">좁은 화면에서는 배경색이 토마토 색이 됩니다.</div>
@media (max-width: 800px) {
  .small-tomato {
    background-color: tomato;
  }
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.