html页面,css引用外部字体

@font-face {
    font-family: 'Tw';
    src: url('../fonts/Tw.eot');
    src: url('../fonts/Tw.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Tw.woff') format('woff'),
         url('../fonts/Tw.ttf') format('truetype'),
         url('../fonts/Tw.svg#Tw') format('svg');
    font-weight: normal;
    font-style: normal;
}

猜你喜欢

转载自www.cnblogs.com/zhangjianzhen/p/9922280.html