我想使用 bootstrap 和 font-awesome。
文件说只是importint CDN。
这是我的简单代码。
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8" />
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet">
</head>
<body>
<i class="fa fa-flag"></i> fa-flag
</body>
</html>
但是,旗帜图标没有出现。
能告诉我怎么解决吗?
最佳答案
http://fortawesome.github.io/Font-Awesome/get-started/
在
最简单:MaxCDN 的 BootstrapCDN
第 2 点
Pat yourself on the back for your scalable-vector-icons-on-the-website judo solution in a single line of code.
你需要一个来源
css 仅映射位置
我更喜欢这种情况
简单:默认 CSS
关于javascript - bootstrap font-awesome 无法工作[使用 cdn],我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29226144/