📜  导入字体 sass - CSS 代码示例

📅  最后修改于: 2022-03-11 14:47:50.803000             🧑  作者: Mango

代码示例1
@font-face {
    font-family: 'Open Sans';
    src: url(path/to/file) format(Example: 'truetype' or 'opentype' depending on the file extension of your font);
}


// USAGE
body {
    font-family: 'Open Sans', sans-serif;
}