加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

twitter-bootstrap – Twitter Bootstrap 3图标,显示一个正方形

发布时间:2020-12-18 00:08:47 所属栏目:安全 来源:网络整理
导读:字体文件在正确的地方,html代码是使用charset utf-8。 代码如下: !DOCTYPE htmlhtmlhead meta chaset="utf-8" titleTeste icone/title link rel="stylesheet" type="text/css" href="css/bootstrap.css"/headbody button type="button" class="btn btn-def
字体文件在正确的地方,html代码是使用charset utf-8。

代码如下:

<!DOCTYPE html>
<html>
<head>
    <meta chaset="utf-8">
    <title>Teste icone</title>
    <link rel="stylesheet" type="text/css" href="css/bootstrap.css">
</head>
<body>

    <button type="button" class="btn btn-default btn-lg">
        <span class="glyphicon glyphicon-star"></span> Star
    </button>

</body>
</html>

并且它的文件结构:

-css
   *bootstrap.min.css
-fonts
    *all font files here
*index.html

奇怪的是,当我看看调试所有的字体文件正确加载

解决方法

尝试重新下载字体,可能已损坏。

检查MD5

MD5 (glyphicons-halflings-regular.eot) = 2469ccfe446daa49d5c1446732d1436d
MD5 (glyphicons-halflings-regular.svg) = 3b31e1de93290779334c84c9b07c6eed
MD5 (glyphicons-halflings-regular.ttf) = aa9c7490c2fd52cb96c729753cc4f2d5
MD5 (glyphicons-halflings-regular.woff) = 7c4cbe928205c888831ba76548563ca3

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读