V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Wilon
V2EX  ›  HTML

使用 Flexible 适配 Web 的移动端页面

  •  
  •   Wilon · Mar 24, 2016 · 3470 views
    This topic created in 3690 days ago, the information mentioned may be changed or developed.

    有谁用过 Flexible 来做适配的? 基本原理:这个库可以动态改写 HTMl 的 font-size,从而可以把需要适配元素的宽高,以 rem 为单位,这样就能完成适配。 但是我现在遇到一个问题,在有些安卓设备下, HTML 的 font-size 会固定为 54px,此时我的适配方案就会出现失误,比如 720x1280 分辨率,那么,用 Flexible 该怎么适配这些情况呢?

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   845 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 19:42 · PVG 03:42 · LAX 12:42 · JFK 15:42
    ♥ Do have faith in what you're doing.