版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
<style type="text/css">
@font-face{
font-family:myFont;
src:url('/bootstrap-3.3.7-dist/fonts/shishangjianti.ttf');
}
body{
font-family: myFont !important;
}
</style>
.ttf的文件路径根据文件位置定义