How to add font file to your website and push to client

22. July 2013

How to add font file to your website and push to client

I was searching on how to push fonts to client side if it does not have the fonts which my website require then i found this nice solution supported in CSS3 . You just have to add the below lines in your stylesheet and specify the font-family of your font file and src in url where the font file is kept on server . Rest assured your fonts will work on client side .

@font-face {

 font-family: Lucida-Calligraphy;

 src: url('fonts/LCALLIG.TTF');

 }

CSS , ,