How to embed fonts in CSS?

后端 未结 6 1663
你的背包
你的背包 2020-11-27 04:37

I want to use some fonts and I want it to work without having this font on the client computer. I have done this but doesn\'t work:

@font-face {
    font-fam         


        
6条回答
  •  余生分开走
    2020-11-27 05:04

    Try this link1,link2

    @font-face {
            font-family: 'RieslingRegular';
            src: url('fonts/riesling.eot');
            src: local('Riesling Regular'), local('Riesling'), url('fonts/riesling.ttf')                       format('truetype');
        }
    

提交回复
热议问题