Блог о современных технологиях в интернете

Node.js, MongoDB, CoffeeScript, JavaScript, HTML5, CSS3, Zend Framework, PHP, Git, Social, Analytics

Декабрь 2, 2010 at 6:14pm
Метки: webkit css3

WebKit Font Smoothing

With the latest versions of Google Chrome and Safari 5, we can now move away from the -webkit-text-stroke hack I had previously endorsed, and move to a much better solution.

As pointed out by Tim Van Damme, the Webkit nightly builds had added -webkit-font-smoothing which actually let us set the type of font smoothing we want instead of hacking the browser into the right setting. And now with Safari 5, this CSS attribute is available in a released version.

I’ve updated the resource on thinning text in Webkit to use this new technique, and have already updated this site’s CSS.

Reblog from Ordered List.

Комментировать

Sneak: Fixing the background "bleed" →

I recently came up against an issue in Safari where the background colour of an element seemed to ‘bleed’ through the edge of the corners when applying both borders and a border-radius (see the image above). After seeing David Cole tweet about the same issue I resolved to find a solution,…

Комментировать