您现在的位置是:首页 > 知识问答 > 字体无法在上显示

字体无法在上显示

知识问答作者:U大使日期:2021-01-25点击:152
<style>@font-face {font-family: "aaaa";src: url("https://cdn.discordapp.com/attachments/694158199036837951/797458951532314635/2.eot");src: url("https://cdn.discordapp.com/attachments/694158199036837951/797458951532314635/2.eot") format("embedded-opentype"), url("https://cdn.discordapp.com/attachments/694158199036837951/797458103170891776/2.woff2") format("woff2"), url("https://cdn.discordapp.com/attachments/694158199036837951/797463564289572894/2.ttf") format("truetype"), url("https://cdn.discordapp.com/attachments/694158199036837951/797456321891926066/2.otf"), url(https://cdn.discordapp.com/attachments/694158199036837951/797463565896253480/2.svg) format("svg"); }input{font-family: aaaa, serif;}</style><input type="text" value="1" />

显示效果:
image.png

不知道为什么显示的字体不是css里面的字体,求救

没找到 aaaa 字体,使用的是衬线体

下一篇       上一篇