chooper
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>text文本字体</title>
    <style>
        /*css3规定字体可以从本地上传到服务器,然后用户浏览时会自动从服务器下载字体*/
        @font-face {
            /*myfont是自己设定的名称*/
            font-family: myfont;
            src: url("../../font/ACaslonPro-Bold.otf");
        }
        p{
            font-family: myfont;
        }
    </style>
</head>
<body>
<h3>title</h3>
<p>this is a test text</p>

</body>
</html>

 

分类:

技术点:

相关文章:

  • 2021-10-30
  • 2021-07-25
  • 2021-12-05
  • 2021-12-25
  • 2021-05-07
  • 2022-12-23
猜你喜欢
  • 2021-12-25
  • 2021-11-05
  • 2021-12-25
  • 2021-12-25
  • 2021-12-25
  • 2021-12-25
  • 2021-12-25
相关资源
相似解决方案