Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是的,您在 CSS 中声明它是这样的:
@font-face { font-family: urfont; src: url('urfont.otf'); } @font-face { font-family: urfont; font-weight: bold; src: url('urfont.otf');}
然后,您可以像其他标准字体一样引用它:
<select style="font-family: urfont, sans-serif;"