擅长:python、mysql、java
<p>非常感谢你的帮助。。所有建议的结合终于奏效了。</p>
<p>在此处发布解决方案:</p>
<p>CSS文件:</p>
<pre><code>@font-face{
font-family: trial;
src: url('CENTRALESANSCND-BOLD.otf');
font-weight: bold;}
body {font-family: georgia; color:green}
h1 {font-family:trial; color: pink}
</code></pre>
<p>HTML文件:</p>
<pre><code><!DOCTYPE html>
<html>
<link type="text/css" rel="stylesheet" href="{{url_for('static', filename='mystyle.css')}}"/>
<body>
<p > Hello... </p>
<h1> welcome </h1>
</body>
</html>
</code></pre>