I'm experimenting with responsive design and trying to adjust elements based on screen resolution. For example, I have the following code snippet:
@mediaquery only screen and (min-width:1125px) and (max-width:1280px) {
flex-basis: 31.4rem;
}
While this works perfectly in Mozilla Firefox's responsive design mode, I noticed that when resizing the browser window directly, the change occurs at 1262px instead of the expected 1280px. This inconsistency seems to occur for all media queries, as the values don't align between browser resizing and the responsive design mode (e.g., changing from 540px instead of 560px).
Any thoughts on why this might be happening? How can I ensure consistency between browser resizing and Responsive design mode?