Bootstrap 图标文件glyphicons-halflings-regular.woff未找到
下载的bootstrap.css后用的class="sr-only"的一些图标文件时报了这些错误,是onts/glyphicons-halflings-regular.woff2等一些文件为找到,是因为bootstrap.css中引用了一些文件字体,本地并没有下载。
解决方法:
1、引用线上的cdn资源:<link href="http://cdn.bootcss.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet">;
2、下载相应的图标文件。