The production of mobile phone interface, in accordance with generally twice the size to do it.
If the width is greater than the width of the display device can be adapted to make a
Fluid layout
For example, experience
Code
PC end adaptable
Mobile end
Computer, the mobile terminal displays properly
Suppose, a label to each frame added
effect
Expected Effects
Solution, a
calc function, minus the percentage of the multi-pixel value
The left frame 2 right frame 2, a plurality of each of the four pixels, like lost
Two solutions
Setting box-sizing: border-box
Changes in dimensions of the box is calculated
The range of the width and height of the box are defined
Responsive layout
Flow layout, according to the size of the wide-mouth adapter
But the bottom line will be
Is desirable, when the wide mouth small time constant
If the four line display, one layout change mode, two display line
Row shows four tranches
Content 23 (including the border)
Responsive experience
When the width is less than four hundred
Watch phone