Flexible application

Flexibl.js

For us to do a job, media inquiries, saving many operations

For example, the page design draft of a mobile terminal is 750px, we own rem conversion unit, for example, I want to divide the screen into 15 equal parts, I 750/15 = 50, then divided by 50 with all of the pixel unit, obtained by the conversion rem is a unit.

But css can not be calculated, so we can use less or scss compiled define variables and calculations. less build environment Hbuilder x needs to be installed, install various plug-in compiler node.js environment

 

Rem production and new to the mobile terminal, some difficulty, most commonly flex elastically and rem box layout, flow layout seemingly can not meet some of the requirements, and may not be considered in the ipad movable end.

Flexibl.js divide the screen into 10 equal parts, in the case of design draft 750px, then all the pixels have to be converted in addition to 75 rem

 

Guess you like

Origin www.cnblogs.com/xiaozhang666/p/11343768.html