画面幅が320px以上、768px未満のときに背景色が黄色になります。
@media (min-width: 320px) and (max-width: 767px) { body { background: yellow; } }
元記事を表示する