bootstrap圖標字體不出來問題的解決辦法
阿新 • • 發佈:2017-06-15
問題 trap con hal hicon rip true ons svg
@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圖標字體不出來問題的解決辦法