如何使用 Google Web Fonts
的有关信息介绍如下:进入Google Web Fonts 主页 点击始选择字体;
200+字体选择想要字体(惜没文字体)选择使用;
设置选择字体式字符集;
字体加网站:
:标准式:head部加入串 link 式引入Google字库:;
二:@import 式:@import url;
三:js引入:
WebFontConfig = {
google: { families: [ 'Comfortaa:latin', 'Rosario:latin' ] }
};
(function() {
var wf = document.createElement('script');
wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
'://';
wf.type = 'text/javascript';
wf.async = 'true';
var s = document.getElementsByTagName('script');
s.parentNode.insertBefore(wf, s);
})();
5.普通字体设置式
WP使用WP Google Fonts插件