字体引入
2015-12-15 15:27
176 查看
@font-face {
font-family: 'aa';
src: url('../fonts/_-webfont.eot');
src: url('../fonts/_-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/_-webfont.woff2') format('woff2'),
url('../fonts/_-webfont.woff') format('woff'),
url('../fonts/_-webfont.ttf') format('truetype'),
url('../fonts/_-webfont.svg#aa') format('svg');
font-weight: normal;
font-style: normal;
}
.font{font-family: 'aa';color:#FFF}
字体要用英文不用用中文,谷歌中文字体引入不进去
font-family: 'aa';
src: url('../fonts/_-webfont.eot');
src: url('../fonts/_-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/_-webfont.woff2') format('woff2'),
url('../fonts/_-webfont.woff') format('woff'),
url('../fonts/_-webfont.ttf') format('truetype'),
url('../fonts/_-webfont.svg#aa') format('svg');
font-weight: normal;
font-style: normal;
}
.font{font-family: 'aa';color:#FFF}
字体要用英文不用用中文,谷歌中文字体引入不进去
相关文章推荐
- Linux 进程通信 信号量练习之猴子过桥
- Java学习----对象的构造
- ECharts中文显示为Unicode码
- IntelliJ IDEA for mac 快捷键
- 3-2、Intellij IDEA开发、集群提交运行Spark代码
- Stanford机器学习课程(Andrew Ng) Week 1 Parameter Learning --- 梯度下降法
- .net实现日志文件重命名且保留历史日志文件
- hbase-0.94.7-security.tar.gz集群搭建
- ERROR: While executing gem … (Gem::RemoteFetcher::FetchError)
- C语言-06数据类型-05 总结
- IQueryable与IEnumberable的区别(转)
- 修改拖动条的外观
- 解决Android6.0蓝牙无法扫描设备或闪退
- CentOS 7.1上编译安装Kamailio
- 算法【5】:简单选择排序
- 面试题12:二进制中1的个数
- 固态硬盘上安装Windows8(ghost)启动问题
- 判断对象是否显示
- struts结合ECharts的用法
- (原创)googlemap开发(一)