Looking at the css code below:
@media only screen and (min-width: 0px) and (max-width: 768px) {
...
}
I'm curious about why, on my laptop, when I resize the browser window to exactly 768px, the css properties inside this media query are applied. However, the same does not happen on my mobile device with a resolution of 1280x720 and a screen size of 4.3 inches. Specifically, the media query with a max-width of 768px is being applied despite the default horizontal resolution of 1280px on my mobile. Could there be another factor that the media query considers besides resolution? If so, what could it be - perhaps the actual screen size?
Thank you for any insights.