bootstrap图标字体不出来问题的解决办法
@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修改为你存放图标字体的路径
- 上一篇 »php写图片不显示不出来如何解决?
- 下一篇 »bootstrap图标乱码问题-解决方案