title: Using a custom .otf font in an ASP.NET Core 2.2 application
body: <p>I have a .otf font file that I am trying to use in my ASP.NET Core project.</p>
  
  <p>In the wwwroot folder, I have created another folder named <em>font</em> where the .otf file resides.</p>
  
  <p>In my css file I have the following:</p>
  
  <pre><code>@@font-face {
      font-family: 'Nexa Light';
      src: local('../font/Nexa Light.otf'), url('../font/Nexa Light.otf');
  }
  
  body {
      font-family: 'Nexa Light';
  }
  </code></pre>
  
  <p>The font has not been applied and there are no errors in Chrome Dev console so.</p>
  
  <p>Any help is much appreciated. </p>