I'm having a serious problem with Media Query, I'm testing this code and it does not change the state at all, I reduce the screen to the maximum and the colors remain unchanged; HELP
.box{
width: 200px;
height: 200px;
background-color: red;
}
.box2{
width: 250px;
height: 250px;
background-color: blue;
}
.box3{
width: 150px;
height: 150px;
background-color: pink;
}
@media screen (min-width:480px){
.box{
width: 200px;
height: 200px;
background-color: black;
}
.box2{
width: 250px;
height: 250px;
background-color: green;
}
.box3{
width: 150px;
height: 150px;
background-color: grey;
}
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Teste</title>
<link rel="stylesheet" href="css/main.css" media="screen" title="no title" charset="utf-8">
</head>
<body>
<header>
<div>
<div class="box"></div>
<div class="box2"></div>
<div class="box3"></div>
</div>
</header>
</body>
</html>