css3中的自定义字体
自定义字体
/*定义*/
@font-face {
font-family: "icons";
src: url("icomoon.eot");
src: local("☺"), url("icomoon.woff") format("woff"), url("icomoon.ttf") format("truetype"), url("icomoon.svg") format("svg");
font-weight: normal;
font-style: normal;
}
/*使用*/
body{
font-family: "icons"
}
------学习贵在分享,贵在记录,贵在总结。