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

前端 未结 10 791
你的背包
你的背包 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 03:14

    I ran into a similar issue recently, same font family and size looked differently on Chrome, safari and Firefox. The chrome and firefox look especially thicker. This might not be the best way but worked for me

    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: unset;
    -moz-osx-font-smoothing: grayscale;
    font-smoothing: antialiased;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    

    Also, its worth a while to checkout different rendering engines. CSS What are -moz- and -webkit-?

提交回复
热议问题