Skip to content

[css] 第102天 你是如何规划响应式布局的? #989

Open
@haizhilin2013

Description

@haizhilin2013

第102天 你是如何规划响应式布局的?

Activity

forever-z-133

forever-z-133 commented on Jul 27, 2019

@forever-z-133

从项目角度来讲,
PC 和 Mobile 是一个项目还是两个项目;

从方法流派来讲,
有栅栏布局,固定 viewport,使用 rem/pt/vw 单位,使用定位百分比,修改为 rem/vw 单位,五种;

从文件结构来讲,
是独立为响应布局专用 css 文件,还是跟随组件一起;

其他细节,
用 flex-grow 的地方,用 % 的地方,用 em 的地方

DarthVaderrr

DarthVaderrr commented on Jul 28, 2019

@DarthVaderrr

我的方案是 all in REM

l8888888

l8888888 commented on Jul 28, 2019

@l8888888

我的方案是 all in REM

23333333

EragonBubble

EragonBubble commented on Aug 1, 2019

@EragonBubble

PC和Mobile分开,
1.PC 采用栅栏式布局
2.Mobile 基于viewport,采用flex实现

smile-2008

smile-2008 commented on Sep 28, 2021

@smile-2008

我的方案是 all in REM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @smile-2008@haizhilin2013@EragonBubble@forever-z-133@DarthVaderrr

        Issue actions

          [css] 第102天 你是如何规划响应式布局的? · Issue #989 · haizlin/fe-interview