How to add some non-standard font to a website?

后端 未结 19 1382
时光说笑
时光说笑 2020-11-22 02:17

Is there a way to add some custom font on a website without using images, Flash or some other graphics?

For example, I was working on a wedding website, and I found

19条回答
  •  挽巷
    挽巷 (楼主)
    2020-11-22 02:47

    It is also possible to use WOFF fonts - example here

    @font-face {
    font-family: 'Plakat Fraktur';
    src: url('/resources/fonts/plakat-fraktur-black-modified.woff') format('woff');
    font-weight: bold;
    font-style: normal;
     }
    

提交回复
热议问题