vendredi 8 mai 2015

Using Custom Font Uploaded from Google Public Folder

I am trying to use a custom font on my website that I have uploaded in a google drive. The reason I have to take this route is, the particular site is blogger which does not allow me to upload custom font. I have read articles where they had suggested to use pro version of dropbox, but at this moment I am not planning to invest in a pro account. The Code I am trying to use as follows

<!DOCTYPE html>
<html>

<head>
  <style>
    @font-face {
      font-family: keycapsflf1-webfont;
      src: url(http://ift.tt/1zJGooM);
    }
    @font-face {
      font-family: keycapsflf1-webfont;
      src: url(http://ift.tt/1zJGooM);
      font-weight: bold;
    }
    div {
      font-family: keycapsflf1-webfont;
    }
  </style>
</head>

<body>

  <div>Testing</div>

</body>

</html>

But, this does not work. Any idea, what might be wrong?

Aucun commentaire:

Enregistrer un commentaire