【发布时间】:2019-02-05 17:33:04
【问题描述】:
您好,我使用称为minton 的引导程序主题,它使用很棒的字体处理图标。我认为这是一个引导 3/4 的事情。
简而言之:This boostrap 4.0 lacks glypicons。我想添加它们。太多的依赖项需要它们。我在字体目录中有字形字体
asssets/fonts/glyphicons-halflings-regular.eotasssets/fonts/glyphicons-halflings-regular.svg-
asssets/fonts/glyphicons-halflings-regular.tff asssets/fonts/glyphicons-halflings-regular.woff
并且 bootstrap.min.css 在这里
- asssets/css/bootstrap.min.css
我通过 icons.css(除其他外)将这个 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.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}
但它们没有在请求时出现。任何人都可以阐明这一点吗?
【问题讨论】:
-
你能更清楚地知道你需要字体真棒还是字形?它们是独立的产品
-
This boostrap 4.0 lacks glypicons. I would like to add them我使用依赖字形图标的malot.fr/bootstrap-datetimepicker/demo.php
标签: html css bootstrap-4 glyphicons