Why media is not functioning correctly?

@media only screen and (min-width:960px) {
 .wrapper {background: #FF0004} 

The background is always red for any size of the window. And if you write max-width:960px it does not work. Line in css/media.css, it is connected after the main styles. Although much is not put was not working properly, I do not understand why.
April 3rd 20 at 18:54
1 answer
April 3rd 20 at 18:56
<meta name="viewport" content="width=device-width, initial-scale=1">

between tags <head></head>

Find more questions by tags CSS