1, page header, add viewPort tag:

< meta name = "viewport" content = "width = device - width, initial - scale = 1, maximum - scale = 1.0, the minimum - scale = 1.0, user - scalable = no" >Copy the code

2, block level elements do not use absolute width, use percentage width:XX%; Rem font size:1.4rem; Left {width:30%; float:left} .right{ width:70%; float:right; Href =”style/ CSS /css600. CSS “/> < span style =” max-device-width: 600px “style =” box-sizing: border-box; @media screen and (max-device-width: 400px) {. Left {float:none; float:none; }} img {width: 100%; }