@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修改为你存放图标字体的路径

05-03 20:53