Defining Custom Fonts With @font-face in Angular

@font-face {
  font-family: Lato;
  src: url(/assets/fonts/Lato.woff2) format('woff2'),
       url(/assets/fonts/Lato.woff) format('woff');
}
h1 {
  font-family: Lato, sans-serif;
}

References
https://alligator.io/css/font-face/
https://stackoverflow.com/questions/49878988/how-to-import-a-new-font-into-a-project-angular-5

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.