@font-face {
font-family: test;
src: url("");
}
font-family:test;其中test为字体名字;
src:url(“”)中写入相对应字体所在路径
在标签属性中引用:
.div {
margin-top: 32px;
margin-bottom: 20px;
font-family: test;
}
@font-face {
font-family: test;
src: url("");
}
font-family:test;其中test为字体名字;
src:url(“”)中写入相对应字体所在路径
在标签属性中引用:
.div {
margin-top: 32px;
margin-bottom: 20px;
font-family: test;
}