回覆列表
  • 1 # 使用者3624109981179

    1、進入Google Web Fonts 主頁:

    http://www.google.com/webfonts

    點選“開始選擇字型”; 2、從200+字型中選擇想要的字型(可惜沒有中文字型),選擇“使用”; 3、設定你選擇字型的樣式和字符集; 4、把字型加到你的網站: 方法一:標準式:在head部分加入一串 link 樣式,引入Google字型檔; 方法二:@import 式:@import url(

    http://fonts.googleapis.com/css?family=Comfortaa|Rosario);

    方法三:js引入: WebFontConfig = { google: { families: [ "Comfortaa:latin", "Rosario:latin" ] } }; (function() { var wf = document.createElement("script");

    wf.src

    = ("https:" ==

    document.location.protocol

    ? "https" : "http") + "://http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js"; wf.type = "text/javascript"; wf.async = "true"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(wf, s); })(); 5、然後就可以和普通字型一樣設定樣式了。 WordPress可以使用WP Google Fonts外掛,Z-Blog就需要等待了。

  • 中秋節和大豐收的關聯?
  • 形容松樹的古風句子?