Bootstrap 2.3.2 中的字形

Spi*_*ion 1 twitter-bootstrap glyphicons

如何在 Bootstrap 2.3.2 中使用 GLYPHICONS?我已经下载了 Glyphicons ZIP。但我不知道如何安装它。有人能帮助我吗?

Kha*_*ain 5

文档页面向您展示了如何操作: http://getbootstrap.com/2.3.2/base-css.html#icons

我原本不想回答这个问题,而是发表评论,但我没有足够的声誉。如果这不完全是您所追求的,请详细说明您的情况。

更新

这是一个按钮中带有“搜索”图标的工作示例:

<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <link rel="stylesheet" href="css/bootstrap.min.css">
    <style>
        body {
            margin-top: 60px;
        }
    </style>
</head>
<body>
    <div class="container">
        <button class="btn btn-large" type="button"><i class="icon-search"></i> Search</button>
    </div>
</body>
</html>
Run Code Online (Sandbox Code Playgroud)

这是相应的结果:

代码截图