在样式表如此定义:
@font-face {font-family: MyFontName;//自定义字体名称src: url(../Gloss_And_Bloom.ttf)}
然后,具体使用:
<div style="font-family:MyFontName;">Test Text</div>
如果觉得《html引用ttf字体文件》对你有帮助,请点赞、收藏,并留下你的观点哦!
时间:2020-10-31 13:45:09
在样式表如此定义:
@font-face {font-family: MyFontName;//自定义字体名称src: url(../Gloss_And_Bloom.ttf)}
然后,具体使用:
<div style="font-family:MyFontName;">Test Text</div>
如果觉得《html引用ttf字体文件》对你有帮助,请点赞、收藏,并留下你的观点哦!
css引入woff ttf css引用跨域字体文件woff eot ttf问题
2024-02-11
html怎么设置表格上下边框线为0左右不变? html使用ttf文件字体
2021-01-18