Check out this Codepen example: https://codepen.io/codepenuserpro/pen/ExQrEbo
HTML:
<div></div>
CSS:
div
{
height:400px;
width:400px;
background-color:red;
}
@media only screen and (min-width: 1068px) and (max-width: 1380px)
{
background-color:blue;
}
I've noticed that the div is not changing its background color when I resize the browser window to between 1068 - 1380px. Any ideas on why this might be happening?