bootstrap里有 bootstrap-glyphicons.css吗

bootstrap里有 bootstrap-glyphicons.css吗


泛舟湖上清波郎朗
浏览 864回答 2
2回答

拉丁的传说

是没有这个名字的css文件的,但有可能存在于bootstrap.css中,另外,如果要使用矢量图标的话要引入目录里的fonts文件才可以使用1234567891011121314151617@font-face {    font-family: 'Glyphicons Halflings';    src: url('../fonts/glyphicons-halflings-regular.eot');    src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');}.glyphicon {    position: relative;    top: 2px;    display: inline-block;    font-family: 'Glyphicons Halflings';    -webkit-font-smoothing: antialiased;    font-style: normal;    font-weight: normal;    line-height: 1;    -moz-osx-font-smoothing: grayscale;    color: #8b919c;} 

慕尼黑的夜晚无繁华

还字体文件,bootstrap.min.css 会引用它们:glyphicons-halflings-regular.eotglyphicons-halflings-regular.svgglyphicons-halflings-regular.ttfglyphicons-halflings-regular.woffglyphicons-halflings-regular.woff2bootstrap.min.css 里有这样的代码:@font-face {font-family: 'Glyphicons Halflings';src: url('../fonts/glyphicons-halflings-regular.eot');src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');}
打开App,查看更多内容
随时随地看视频慕课网APP