【发布时间】:2023-03-21 11:34:02
【问题描述】:
bootstrap 4.5.0 不能以旧版本方式使用 Glyphicons 我的网站上没有显示glyphicons,有没有人知道在4.5.0版本中应用glyphicon的新方法???
<p>
<span class="glyphicon glyphicon-search" aria-hidden="true"></span>
this is the line 1
</p>
【问题讨论】:
-
图标不在引导程序中,您必须使用外部库来导入它们,这样字体很棒,您使用的是什么库?
-
我只使用这个css文件:stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/…" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
-
它只是引导程序,在那个库中你找不到任何图标,你必须使用另一个库,如 font awesome 或 material icons
标签: python django bootstrap-4 django-rest-framework bootstrap-modal