@font-face { font-family: 'Awesome Font'; font-style: normal; font-weight: 400; src: local('Awesome Font'), url('/fonts/awesome.woff2') format('woff2'), url('/fonts/awesome.woff') format('woff'), url('/fonts/awesome.ttf') format('truetype'), url('/fonts/awesome.eot') format('embedded-opentype'); }
The local () directive allows you to reference, download, and use locally installed fonts.
The url () directive allows you to load external fonts and is allowed to contain the optional hint format ()
source share