自定义字体fontface

请看示例, 来自于:

https://developer.mozilla.org/zh-CN/docs/Web/CSS/@font-face

 

 

<html>
<head>
  <title>Web Font Sample</title>
  <style type="text/css" media="screen, print">
    @font-face {
      font-family: "Bitstream Vera Serif Bold";
      src: url("https://developer.mozilla.org/@api/deki/files/2934/=VeraSeBd.ttf");
    }

    body { font-family: "Bitstream Vera Serif Bold", serif }
  </style>
</head>
<body>
  This is Bitstream Vera Serif Bold.
</body>
</html>

分类: 默认 标签: 发布于: 2021-07-29 11:11:14, 更新于: 2021-07-29 11:11:14