Skip to content

[css] 第243天 使用rem布局时怎样合理设置根标签字体大小? #1650

Open
@haizhilin2013

Description

@haizhilin2013

第243天 使用rem布局时怎样合理设置根标签字体大小?

我也要出题

Activity

demigodliu

demigodliu commented on Dec 19, 2019

@demigodliu

UI出2倍稿,然后用js计算当前设备和UI设计稿之间的比例关系,通过resize实时计算根标签字体大小,即可。

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

        @haizhilin2013@demigodliu

        Issue actions

          [css] 第243天 使用rem布局时怎样合理设置根标签字体大小? · Issue #1650 · haizlin/fe-interview