我尝试了很多方法将自定义 azo-sans 字体放入我的 HTML 页面中,但它不起作用,也不适用于我的 HTML 页面。
**Here, i have put some css property which i have tried.**
@font-face {
font-family: AzoSansWebReg, sans-serif;
src: url('../fonts/rui-abreu-azosans-regular.otf') format('opentype');
font-weight: 400;
}
@font-face {
font-family: AzoSansWebLight, sans-serif ;
src: url('../fonts/rui-abreu-azosans-light.otf') format('opentype');
font-weight: 200;
}
@font-face {
font-family: AzoSansWebMed, sans-serif ;
src: url('../fonts/rui-abreu-azosans-medium.otf') format('opentype');
font-weight: 600;
}
@font-face {
font-family: AzoSansWebBold, sans-serif ;
src: url('../fonts/rui-abreu-azosans-bold.otf') format('opentype');
font-weight: 800;
}
What are things i need to change to apply this font in my HTML pages.
我是一名优秀的程序员,十分优秀!