CSS font-size changes when font-family falls back

前端 未结 6 2000
被撕碎了的回忆
被撕碎了的回忆 2020-12-14 10:31

I want to use a font (gill sans) which renders very small due to a short x-height etc. etc. If I set this at a reasonable size, and then a browser falls back to a more typic

6条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-14 10:56

    I would recommend you using typical Fonts that are found on most (/all) machines that access the website you are building. The view of a website shouldn't differ because of the browser (IE-related problems is another topic...). Use common fonts or alternatives that do work similar...

提交回复
热议问题