账号密码登录
微信安全登录
微信扫描二维码登录

登录后绑定QQ、微信即可实现信息互通

手机验证码登录
找回密码返回
邮箱找回 手机找回
注册账号返回
其他登录方式
分享
  • 收藏
    X
    media 媒体查询这里怎么理解呢?
    30
    0
    html {font-size: 62.5%!important; /* 10÷16=62.5% */}
    @media only screen and (min-width: 481px){
        html {
            font-size: 94%!important; /* 15.04÷16=94% */
        }
    }
    @media only screen and (min-width: 561px){
        html {
            font-size: 109%!important; /* 17.44÷16=109% */
        }
    }
    @media only screen and (min-width: 641px){
        html {
            font-size: 125%!important; /* 20÷16=125% */
        }
    }

    默认根字体大小 62.5%,这是多大呢?12px?16px?

    min-width: 481px ,浏览器最小宽度达到 481px,字体大小变成 94%?

    是不是可以这样理解:

    分辨率小于481px,字体大小就是62.5%,就是默认那个html设置。
    分辨率大于481px,字体大小就是94%
    分辨率大于561px,字体大小就是109%
    分辨率大于641px,字体大小就是125%

    0
    打赏
    收藏
    点击回答
        全部回答
    • 0
    更多回答
    扫一扫访问手机版
    • 回到顶部
    • 回到顶部