码迷,mamicode.com
首页 > 其他好文 > 详细

bootstrap图标字体不出来问题的解决办法

时间:2017-06-15 20:25:42      阅读:131      评论:0      收藏:0      [点我收藏+]

标签:efi   embed   type   pts   scripts   sre   nbsp   script   boot   

@font-face {
font-family: ‘Glyphicons Halflings‘;

src: url(‘/Scripts/bootstrap/fonts/glyphicons-halflings-regular.eot‘);
src: url(‘/Scripts/bootstrap/fonts/glyphicons-halflings-regular.eot?#iefix‘) format(‘embedded-opentype‘), url(‘/Scripts/bootstrap/fonts/glyphicons-halflings-regular.woff‘) format(‘woff‘), url(‘/Scripts/bootstrap/fonts/glyphicons-halflings-regular.ttf‘) format(‘truetype‘), url(‘/Scripts/bootstrap/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular‘) format(‘svg‘);
}

 

 

找到bootstrap.css中的图标字体样式Glyphicons 

把字体的src修改为你存放图标字体的路径

bootstrap图标字体不出来问题的解决办法

标签:efi   embed   type   pts   scripts   sre   nbsp   script   boot   

原文地址:http://www.cnblogs.com/sharestone/p/7019715.html

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