Responsive layout development, mobile phone adaptation, a set of pages on different models of mobile phones can be well reflected
1. Flow-type layout:
Width not adaptable, adaptive, or percent set
The height, font, etc. are written as fixed values
--and then through @media (media query), according to different sizes of the screen for flexible adjustment--2014 responsive layout idea
2, Fixed layout: (This way no one has been used)
Set the maximum width value, if the width of the screen exceeds the maximum width, let the page appear in the middle, leaving white on both sides
3, Zoom layout: (currently do scene switch page--commonly used)
In accordance with the width of the design and the width of the screen, we designed a set of the most suitable for the scale of the page
Layout in strict accordance with the size of the design manuscript layout
--then install the scale overall to all the content in the page to zoom
4, FLEX (CSS3 properties, the compatibility of the mobile side is not particularly good)/bootstrap (mobile end frame) Fence layout
5, REM layout (we currently do webapp most commonly used layout ideas)
We set a root value
And then we set the value of the style to the corresponding REM value calculated by the root value
With the size of the page changes, the browser will change itself
How does the mobile page work?