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

normalize的DEMO在chrome下字体变细了

  •  
  •   leohxj ·
    leohxj · Jun 6, 2013 · 3682 views
    This topic created in 4710 days ago, the information mentioned may be changed or developed.
    http://necolas.github.io/normalize.css/latest/test.html
    我用IE, FF都比较粗,我是个例还是chrome 渲染字体的问题?
    9 replies    1970-01-01 08:00:00 +08:00
    guchengf
        1
    guchengf  
       Jun 6, 2013   ❤️ 1
    最好截个图
    leohxj
        2
    leohxj  
    OP
       Jun 6, 2013
    Sivan
        3
    Sivan  
       Jun 6, 2013
    字体不一样……
    cutehalo
        4
    cutehalo  
       Jun 6, 2013
    浏览器默认字体不一样...
    leohxj
        5
    leohxj  
    OP
       Jun 6, 2013
    @Sivan
    @cutehalo chrome下默认是宋体,这是normalize的DEMO, 它不是保证浏览器标签一致性的吗。。
    cutehalo
        6
    cutehalo  
       Jun 6, 2013   ❤️ 1
    @leohxj IE和FF里面的sans-serif字体设置成Arial了吧
    而chrome里面的是宋体
    leohxj
        7
    leohxj  
    OP
       Jun 6, 2013
    @cutehalo 可是normalize不是设置了html的font-family, 为什么还会不一致呢
    cutehalo
        8
    cutehalo  
       Jun 6, 2013   ❤️ 1
    @leohxj 设置的是sans-serif 是指无衬线字体 你的FF和IE里面无衬线字体都是Arial 而chrome里面是宋体 所以嘛就会这样 你可以仔细看下字体设置里面 有什么标准字体 serif字体之类的
    leohxj
        9
    leohxj  
    OP
       Jun 6, 2013
    @cutehalo 确实,很感谢!
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1216 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 23:26 · PVG 07:26 · LAX 16:26 · JFK 19:26
    ♥ Do have faith in what you're doing.