I have defined my media query breakpoints as shown below:
@media screen and (max-width:48em){
/* phone */
}
@media screen and (min-width:48.063em){
/* tablet */
}
After using a PX to EM calculator to get the 48.063em value (as I was advised to use em-units), I noticed that while it works fine in Firefox, Chrome seems to have an issue. The browser width of 769px falls in between the defined max-width and min-width values, causing neither to be applied. I know I can resolve this by adjusting the min-width to 48.01em. However, I have seen tutorials using 48.063em as well.
Could someone please confirm whether this is a bug in Chrome or a flaw in my approach?