html - 'glyphicon glyphicon-plus' 不显示

标签 html css twitter-bootstrap

我正在使用 Bootstrap 3.0,我正在使用 Twitter Bootstrap Glyphicons .我正在尝试使用“glyphicon glyphicon-plus”,但是当我放入类时,它没有显示。

enter image description here

附言我正在使用页面 http://netdna.bootstrapcdn.com/bootstrap/3.0.2/css/bootstrap.min.css链接到 Bootstrap

代码:

我只有一个图标,没有样式。

<button id='b'><span class='glyphicon glyphicon-plus'></span></button>

最佳答案

我附上了 JSFiddle显示您提供的代码和 CSS 链接。

<link rel="stylesheet" type="text/css" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.2/css/bootstrap.min.css">
<body>
    <button id='b'>
        <span class='glyphicon glyphicon-plus'></span>
    </button>
</body>

加号按钮按预期显示

关于html - 'glyphicon glyphicon-plus' 不显示,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20170557/

相关文章:

html - 如何将增加的边距大小添加到一行按钮?

Twitter Bootstrap : Dropdown Menus Hover for Desktop, 点击平板电脑/手机?

html - 如何创建具有可变长度的均衡定义项的定义列表?

html - 按钮悬停不适用于透明

javascript - 反转过滤器不适用于 IE 和 safari

html - 向 Bootstrap block 级按钮添加功能

twitter-bootstrap - Morris.js 图表在 Bootstrap 选项卡内不起作用

javascript - 使有序的 Bootstrap 列 float 在屏幕顶部

php - 显示赞助商服务器不同的颜色不显示 php

php - 每当浏览器加载图标处于事件状态时显示加载图标