I add a media query to my html file
<link type="text/css" rel="stylesheet" href="xxx-mobile.css" media="screen and (max-device-width:360px)">
then I adjust the width to find the point the css will have effect.
The browsers I tested in my mobile are:
- chrome;
- firefox;
- opera;
- android webkit browser;
Results are as follows:
- chrome, firefox and opera change style at the point max-device-width:360px;
- android webkit browser change style at the point max-device-width:1080px(my screen resolution is 1080*1920);
I want to know chrome whether specify mobile max-device-width or not and standard of the max-device-width sepecified.
<meta name="viewport" content="width=device-width, initial-scale=1">
? – Manngo