Kevin Powell - CommunityKP-C
Kevin Powell - Community2y ago
11 replies
vince

max-width media query not applying to max value

I have an odd issue where my max-width media query; eg: @media (max-width: 1023px) is working on everything below <1022px, but at 1023px, it doesn't apply.

I have checked dev tools and confirmed this issue. There does not appear to be another media query (eg: @media (min-width: 1023px)) being applied.

I know my issue is impossible to diagnose without code, but does anyone know general reasons why this could be happening? I read MDN and it should be applying <=1023.
Was this page helpful?