Have a Snippet?

Keep, track and share your code snippets with your friends

CSS: Smooth font using CSS3 text-shadow property Share on Vkontakte

An CSS3 Trick to smooth big fonts.

h1.title{
    text-shadow:-1px -1px 1px rgba(255,255,255,0.2), /* наверх и влево */
    1px 1px 1px rgba(255,255,255,0.2), /* вниз и вправо */
    1px 1px 1px rgba(0,0,0,0.7); /* тёмная тень */
}


Tag: CSS, font, antialiasing

0 Comments