小编Rav*_*rma的帖子

如何在 Gmail 中使用自定义字体?

我们如何在邮件程序尤其是 gmail 中使用自定义字体。我搜索了很多,但没有找到任何有用的东西,但我在我的 gmail 帐户中看到一个使用“proxima nova”字体的“uxpin”邮件程序......将非常感谢任何帮助。

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--[if !mso]><!-- -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
<!--<![endif]-->
<title>Virgin Atlantic</title>

<style type="text/css">
    @font-face {font-family: 'GothamLight';    src: url('http://ravisharma.ml/mailer1/fonts/GothamLight.eot');    src: url('http://ravisharma.ml/mailer1/fonts/GothamLight.eot?#iefix') format('embedded-opentype'),         url('http://ravisharma.ml/mailer1/fonts/GothamLight.woff') format('woff'),         url('http://ravisharma.ml/mailer1/fonts/GothamLight.ttf') format('truetype'),         url('http://ravisharma.ml/mailer1/fonts/GothamLight.svg#GothamLight') format('svg');    font-weight: normal;    font-style: normal;}
    @media screen{
  body {
    font-family: 'Open Sans', Arial, sans-serif !important;
  }
}

}   @media screen and (max-width: 639px){
        #main_table{
            width:100% !important;
            display:block;
        }

}   @media screen and (max-width: 639px){
        h1{
            font-size:20px !important;
        }

}   @media …
Run Code Online (Sandbox Code Playgroud)

html css fonts gmail webfonts

8
推荐指数
2
解决办法
2万
查看次数

标签 统计

css ×1

fonts ×1

gmail ×1

html ×1

webfonts ×1