Is Garamond really a web safe font?

前端 未结 6 2704
北荒
北荒 2021-02-19 00:40

Is Garamond really web safe? Should I go ahead and use it? I know its not there in XP(Georgia is the fallback), however, what about other operating systems? Is it present in ma

6条回答
  •  被撕碎了的回忆
    2021-02-19 00:42

    1) No, Garamond is not a web safe font.

    2) Garamond is not recommended for usage on the web. See this article: Why you don't use Garamond on the Web

    3) Recommendation: use Georgia for headings and Verdana for body text. They are both web safe and are tried and proven to work very well together.

    If you want to stick with EB Garamond, Google Fonts recommends pairing it with Lobster.

    Writing the code:

    @import url('https://fonts.googleapis.com/css?family=Lobster|EB+Garamond');
    h1, h2, h3, h4, h5, h6 {font-family: Lobster, cursive; }
    p {font-family: 'EB Garamond', serif; }
    

提交回复
热议问题