@font-face 규칙은 문서에서 사용할 글꼴을 철저하게 설명하는 데 사용됩니다. @font-face는 다운로드할 글꼴의 위치를 정의하는 데 사용할 수도 있지만 구현에 따른 제한이 있을 수 있습니다.
예시
<style>
<!--
@font-face {
font-family: "Scarborough Light";
src: url("https://www.font.site/s/scarbo-lt");
}
@font-face {
font-family: Santiago;
src: local ("Santiago"),
url("https://www.font.site/s/santiago.tt")
format("truetype");
unicode-range: U+??,U+100-220;
font-size: all;
font-family: sans-serif;
}
-->
</style>