There is a code, I want to add a media query with a resolution of 992px. I look through the code inspector, but everything is as it was, so it is - media styles have not been applied. Help, what's the matter?
<head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <link rel="stylesheet" href="css/main.css"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link href="https://fonts.googleapis.com/css?family=PT+Sans:400,700|Roboto:400,700" rel="stylesheet"> <title>Layout</title> </head> <body> <div class="logo"> <a href=""><img src="img/logo.png" alt="" class="header_logo"></a> </div> <style> .logo { padding-top: 52px; } @media screen and (max-width: 992px) { .logo { display: block; margin: 0 auto; } } </style> <!--мой код--> </body>