google-fonts

Downloading a Google font and setting up an offline site that uses it

我与影子孤独终老i 提交于 2019-11-26 04:57:55
问题 I have a template and it has a reference to a Google font like this: <link href=\'http://fonts.googleapis.com/css?family=Open+Sans:400italic,600italic,400,600,300\' rel=\'stylesheet\' type=\'text/css\'> How can I download it and set it up to use in my pages which are running offline all the time? 回答1: Just go to Google Fonts - http://www.google.com/fonts/ , add the font you like to your collection, and press the download button. And then just use the @fontface to connect this font to your web