How to render thin fonts more smoothly in CSS 3 on Windows?

前端 未结 10 795
你的背包
你的背包 2020-12-23 02:46

When I\'ve designed my web site in Adobe Flash Pro CS6, the font looks like this:

\"Font

10条回答
  •  遥遥无期
    2020-12-23 02:55

    You may be able to fix this using the css property text-rendering.

    Example:

    text-rendering: auto
    text-rendering: optimizeSpeed
    text-rendering: optimizeLegibility
    text-rendering: geometricPrecision
    text-rendering: inherit
    

    You would probably want to use text-rendering:optimizeLegibilty.

    More information here: MDN Text-Rendering

提交回复
热议问题