对应的CSS文件中如下方式进行字体库的引用:
@font-face { font-family: ‘造字工房情书‘; src: url(‘../fonts/MFQingShu_Noncommercial-Regular.otf‘); } .website-purpose { color: white; font-size: 1.5em; font-family: ‘造字工房情书‘; text-align: center; padding-top: 0.8em; letter-spacing: 5px; }
时间: 2024-11-09 02:52:30