Advertisement
me2arafat

How to install a Font in server

Dec 15th, 2015
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. First upload your font to a directory on your server.
  2.  
  3. Then register that font in your CSS so that you can use it like so:
  4.  
  5. @font-face {
  6. font-family: 'Raspoutine Medium';
  7. src: url(http://site/fonts/Raspoutine Medium.ttf);
  8. }
  9. Then, to use it on elements within your site:
  10.  
  11. body {
  12. font-family: 'Raspoutine Medium', Arial, Helvetica, san-serif;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement