新博客:程序员小Ghttp://www.gloryofme.cn
初次使用bootstrap,使用bootstrap上传控件,遇到控件的“Browser”按钮前的文件夹图片不显示的问题。
f12查看console发现出现如下的错误:
/css/fonts/glyphicons-halflings-regular.woff2 Failed to load resource: the server responded with a status of 404 (Not Found)
/css/fonts/glyphicons-halflings-regular.woff Failed to load resource: the server responded with a status of 404 (Not Found)
/css/fonts/glyphicons-halflings-regular.ttf Failed to load resource: the server responded with a status of 404 (Not Found)
解决方案:
在对应的文件路径下发现确实缺少这几个文件
在bootstrap.min.css中有对这些字体文件的引用:
@