码迷,mamicode.com
首页 > Web开发 > 详细

css中一些常用技巧

时间:2016-11-26 17:29:40      阅读:175      评论:0      收藏:0      [点我收藏+]

标签:调用   blog   alt   span   ace   css   log   color   文件路径   

技术分享
// css中引入字体文件
@font-face {
    font-family: msyh; /*这里是说明调用来的字体名字*/
    src: url(../font/wryh.ttf); /*这里是字体文件路径*/
}
*{
    font-family: wryh.ttf;
} 

 

css中一些常用技巧

标签:调用   blog   alt   span   ace   css   log   color   文件路径   

原文地址:http://www.cnblogs.com/chrdai/p/6104496.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!