简体   繁体   English

Glyphicon无法正常启动bootstrap-4.0.0吗?

[英]Glyphicon is not working bootstrap-4.0.0 any alternative?

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">

this is the cdn of bootstrap-4.0.0 probably the latest version of bootstrap when I include 这是bootstrap-4.0.0的CDN,可能是我包含的最新版本的bootstrap

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">

Glyphicon working but not in bootstrap-4 case why is there any other way to include or something else Glyphicon工作,但在bootstrap-4情况下却不工作,为什么还有其他包含方式或其他方式

According to official documentation, Bootstrap 4 is no longer supporting Glyphicons: 根据官方文档,Bootstrap 4不再支持Glyphicons:

https://getbootstrap.com/docs/4.0/extend/icons . https://getbootstrap.com/docs/4.0/extend/icons

You can import Glyph by you own: 您可以自己导入字形:

http://glyph.smarticons.co/ http://glyph.smarticons.co/

Bootstrap 4 no longer have glyphicon, it is dropped it new version. Bootstrap 4不再具有glyphicon,它将被丢弃为新版本。 You can go with fontawesome, that is what bootstrap suggest for version 4. 您可以使用fontawesome,这是引导程序建议的版本4。

https://fontawesome.com/ https://fontawesome.com/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM