【发布时间】:2016-07-01 19:40:26
【问题描述】:
我的wwwroot 上有这种字体,如我的 nodejs 应用程序的控制台所示:
我的css 有这个用法:
@font-face {
font-family: myFont;
src: url(resources/font/Montserrat-Bold.woff) format("truetype");
font-weight: bold;
}
@font-face {
font-family: myFont;
src: url(resources/font/Montserrat-Light.woff) format("truetype");
font-weight: 300;
}
@font-face {
font-family: myFont;
src: url(resources/font/Montserrat-Regular.woff) format("truetype");
font-weight: 400;
}
@font-face {
font-family: myFont;
src: url(resources/font/Montserrat-SemiBold.woff) format("truetype");
font-weight: 500;
}
html, body{
font-family: myFont;
font-weight: 300;
}
【问题讨论】:
标签: css node.js azure azure-web-app-service font-awesome