I am building a responsive page and the media queries are firing at the wrong width size. I am using Chrome.
@media screen and (max-width: 1200px) {
.logo-pic {
display: none;
}
}
For example, this rule works it just fires at wrong size. This rule fires at 1320px and not 1200px. I have the meta tag for html in place. It seems to be firing the media query 100 or so pixel wider than it normall should.
<meta name="viewport" content="width=device-width, initial-scale=1">
I checked the previous responsive site I made and those breakpoints are firing correctly. I've tested the browser on different websites and the media queries are fine as well.
I found a similiar question on stack overflow but it went unanswered.
Media Queries breakpoint at wrong value
Not sure what the problem is?
.logo-pic
? What rules does the style inspector show being applied or overridden when you inspect the.logo-pic
element? – ThromboCtrl+0
to revert to 100% – Billmyre