We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
第102天 你是如何规划响应式布局的?
从项目角度来讲, PC 和 Mobile 是一个项目还是两个项目;
从方法流派来讲, 有栅栏布局,固定 viewport,使用 rem/pt/vw 单位,使用定位百分比,修改为 rem/vw 单位,五种;
从文件结构来讲, 是独立为响应布局专用 css 文件,还是跟随组件一起;
其他细节, 用 flex-grow 的地方,用 % 的地方,用 em 的地方
我的方案是 all in REM
23333333
PC和Mobile分开, 1.PC 采用栅栏式布局 2.Mobile 基于viewport,采用flex实现
Activity
forever-z-133 commentedon Jul 27, 2019
从项目角度来讲,
PC 和 Mobile 是一个项目还是两个项目;
从方法流派来讲,
有栅栏布局,固定 viewport,使用 rem/pt/vw 单位,使用定位百分比,修改为 rem/vw 单位,五种;
从文件结构来讲,
是独立为响应布局专用 css 文件,还是跟随组件一起;
其他细节,
用 flex-grow 的地方,用 % 的地方,用 em 的地方
DarthVaderrr commentedon Jul 28, 2019
我的方案是 all in REM
l8888888 commentedon Jul 28, 2019
23333333
EragonBubble commentedon Aug 1, 2019
PC和Mobile分开,
1.PC 采用栅栏式布局
2.Mobile 基于viewport,采用flex实现
smile-2008 commentedon Sep 28, 2021