开发者

Type with bad antialiasing using webkit transformation, what's the cause?

开发者 https://www.devze.com 2023-02-03 17:57 出处:网络
I\'m using 开发者_Python百科a script that uses Webkit transformations, and in Safari I can see the type jagged, not clear — like in an old pc browser.

I'm using 开发者_Python百科a script that uses Webkit transformations, and in Safari I can see the type jagged, not clear — like in an old pc browser.

The type is good in Chrome and Safari Mobile. What could it be? Do I have to set anything on CSS?

thanks


I am not sure what the problem is... but, you can always force antialisasing with this:

html
{
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

the 'text-rendering' function is optional, it only affects Windows and Linux. Learn more »

0

精彩评论

暂无评论...
验证码 换一张
取 消