Step one: Determine the type of device that needs to be compatible, screen size
Device type: Includes mobile device (mobile phone, tablet) and PC. For mobile devices, the design and implementation of the time to pay attention to increase the function of gestures.
Screen size: Includes the size of various phone screens (both horizontal and vertical), the size of various plates (including horizontal and vertical), normal computer screens and widescreen.
Step Two: implementation process 1. Set Meta tags
<meta name= "viewport" content= "width=device-width,initial-scale=1,user-scalable=0" >
2. Set style sheets for different screens
@media screen and (min-width:? ) and (max-width:? x), does this conditional statement mean greater than? 0 less than? The style sheet that is activated at the resolution.
Responsive layout (CSS3, HTML5) process