<style>
@font-face {
font-family: 'thenautigal rob';
src:url('thenautigal rob.ttf');
/*或者写完整路径: */
/* src:url('http://www.a.cn/web/thenautigal rob.ttf'); */
}
#div0{
font-size:40px;
color:red;
font-family: 'thenautigal rob';
}
</style>
<div id="div0" >Merry Christmas</div>
用户电脑上没有的字体,在网站上怎么显示?
猜你喜欢
转载自blog.csdn.net/wuzuyu365/article/details/85170616
今日推荐
周排行