Here is the code snippet:
@media screen and (max-device-width: 2000px)
{
body
{
margin:0px;
padding:0;
background-color: #000;
color: white;
font-size: 30px;
}
#offer
{
padding-right:250px;
padding-left:250px;
}
}
@media screen and (max-device-width: 1000px)
{
body
{
background-color: #fff;
}
#offer
{
padding-left: 10px;
padding-right: 10px;
}
}
The issue I am facing is that the black background and paddings are always applied, the second query seems to be ineffective. Why could this be happening?