先获取这些字体文件
然后添加css
/*引入字体(pt-din-condensed-cyrillic)*/ @font-face { font-family: ‘pt‘; src: url(‘../font/pt/pt-din-condensed-cyrillic.eot‘); src: url(‘../font/pt/pt-din-condensed-cyrillic.eot?#iefix‘) format(‘embedded-opentype‘), url(‘../font/pt/pt-din-condensed-cyrillic.woff‘) format(‘woff‘), url(‘../font/pt/pt-din-condensed-cyrillic.ttf‘) format(‘truetype‘), url(‘../font/pt/pt-din-condensed-cyrillic.svg‘) format(‘svg‘); font-style: normal; font-weight: normal; }
时间: 2024-10-12 14:06:28