JSFiddle - React, Tailwind, and code Playground

HTML

<div class="box">
    <h1>Hi there</h1>
</div>

CSS

@media screen and (max-width : 480px) { 
    .box { background-color: blue; height: 200px;  }
}