Search code examples
lessantdfont-family

antd.customize.less trouble with font-family (help please)


Hi I have a trouble with changing font-family. I have local font I need to use it. But is doesn't work, what I missing?enter image description here


Solution

  • It seems you added an additional : after @font-face. You should use it like this:

     @font-face { 
       font-family: 'font-name';
        src: url('url');
        ...
      }